Pingdom shows my website initial wait times is around 8-10 seconds, what's the cause?

My website was loading normally before we moved it from HTTP to HTTPS, right around that time the website started to get heavy load time both on the front end and on the server bandwidth. I really don’t know what is the cause of it.

Result from Pingdom: https://tools.pingdom.com/#!/cxQZkt/www.nguoi-viet.com

Hi @nguyenlong and welcome to the forums.

I’m guessing that the http pages were all cached on your local computer and loaded quickly.

Now the HTTPS site has to start again and struggles with the enormous amounts of http requests, over 400!

On the Pingdom test page each problem is grouped under a drop down list and at the bottom is a link to solving the problems.

Sorry to say there is no easy solution because of the vast number of included files.

Hi @John_Betong,

Thank you for your speedy reply.

We have CloudFlare as CDN and Firewall, we also use Photon extension from WordPress JetPack plugin to host our cache images.

Our hosting provider analyzed and gave us the partial log that showed every single request spawned into 2 sub requests that cause our bandwidth to jump 3x.

Extracted from their conversation:

It does appear requests to the site are spawning two sub requests to the ajax calls. Below is from when I point my browser at https://www.nguoi-viet.com/hoa-ky/

108.162.216.50 192.240.191.2 - [07/Sep/2017:15:35:29 -0400] “GET /hoa-ky/ HTTP/1.1” 200 185948 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36”

108.162.216.50 192.240.191.2 - [07/Sep/2017:15:35:42 -0400] “GET /wp-admin/admin-ajax.php?action=wppas_asyncjs&ver=4.7.5 HTTP/1.1” 200 1685 “https://www.nguoi-viet.com/hoa-ky/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36”

108.162.216.50 192.240.191.2 - [07/Sep/2017:15:35:50 -0400] “POST /wp-admin/admin-ajax.php HTTP/1.1” 200 12 “https://www.nguoi-viet.com/hoa-ky/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36”

I have no knowledge of WordPress and can only guess at the following recommendations:

  1. Change all http:// references to https://

  2. Remove all 23 JavaScript scripts from the heading and move to just above the </body> tag.

  3. Try running the page without using any JavaScripts

  4. Try removing all 12 CSS style sheets () and see which ones are required

  5. Monitor the changes with Pingdom

Perhaps someone with more knowledge of WordPress can suggest other improvements.

Just did the plugins method and found out 3 plugins that cause the waiting times.

W3TC, WP PRO ADVERTISING, and AMP.

Any guiding on setting up W3TC with SSL?

Hi,

check the following link http://www.websitepulse.com/browserfullpagetest/b390d5e0009749d16059b45cea97f1c3
take a look at both first time and return visitor load speeds and recommendations. Hope you get any insights

Cheers

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.