Increasing site speed (Divi + Hostgator)

BHopkins

Elite Member
Joined
Dec 31, 2010
Messages
2,609
Reaction score
1,753
Most of my sites load pretty quickly, but I have two new sites both running the Divi theme on Hostgator and they're both very slow. Using GTMetrix I see a lot of "Waiting".

Can someone give me some tips and explain the "Waiting"? Is that the server not responding to the request?

Screen Shot 2019-07-25 at 8.24.33 AM.png Screen Shot 2019-07-25 at 8.26.43 AM.png
 
Try W3 Total cache plugin and remove any other plugin you are using to speed up your site. Plus look like something is wrong with your server too.
 
As @Nut-Nights mentioned, try W3 Total Cache. It also looks like you aren't minifying css / javascript, which would also help. Are you behind Cloudflare? If not, consider it.

Having sites on Hostgator, too, this actually doesn't look too bad!
 
Page size is low and it's optimized well as well. Most probably a temporary issue with hosting. Check back later.
 
Thanks all! I was using the built in caching. I set it to "Level 4 (Aggressive)" and saved it, but when I went back, it had defaulted to "Level 0 (No Cache)". Every time I saved it, it reverted back to 0.

W3 Total Cache solved the problem, thanks!

Screen Shot 2019-07-25 at 8.58.14 AM.png
 
GTMetrix doesn't really give you the speed at which people load your website. Generally divide that by 1.5 or 2. For example, GTMetrix says my website loads in 3.60 but even with caching cleared, it takes me 2.70 or less to load it. The size of your page is also big, try to reduce it to 1MB or less.
 
Easy solution is to set up proprietly your CDN.
The problem itself is caused by data being loaded every time when you refresh your page, instead of being stored for future sesstions. That's happen when devs keep using old techs such jQuery, making more requests, or setting up badly codes, that can be easily avoided by upgrading own code to at least ES6.
 
GTMetrix doesn't really give you the speed at which people load your website. Generally divide that by 1.5 or 2. For example, GTMetrix says my website loads in 3.60 but even with caching cleared, it takes me 2.70 or less to load it. The size of your page is also big, try to reduce it to 1MB or less.
I don't know exactly the parameters gmetrix uses to measure the speed, but I'm pretty sure they profile everything until the last resource has loaded. When your browser stops showing you the loading bar/the content has been rendered, there can still be scripts and images loading in the background.
 
Use gzip to compress your site by over 80%... That's half of the job done.

Then minify your CSS and java script. This should solve your problem.
 
I don't know exactly the parameters gmetrix uses to measure the speed, but I'm pretty sure they profile everything until the last resource has loaded. When your browser stops showing you the loading bar/the content has been rendered, there can still be scripts and images loading in the background.

Usually 'loading in background' is something like a promise. The code execute one by one, and you can defer it to wait the page loading (otherwise the page will wait the script first).
You can not fix it like this just with w3 school. The plugins can not read human intent, and sometimes they may break it.
 
Use gzip to compress your site by over 80%... That's half of the job done.

Then minify your CSS and java script. This should solve your problem.
GZip compression is already enabled, otherwise it would be shown as error in top of Gmetrix. The website is fine, the problem is how the plugins are made / what they've done.

That's why I always prefer develop something from scratch, so I would avoid a bounch of useless stuff xD
 
Try W3 Total cache plugin and remove any other plugin you are using to speed up your site. Plus look like something is wrong with your server too.
Trying W3 total cache will help.

What options should be toggled to "on" within the W3 Total Cache plugin?

Should the "Minify" option be enabled?
Should browser, CDN, object, and fragment cache all be enabled?

I just installed it on one of my sites yesterday.
 
Change your hosting + install Wp Rocket. That's 90% of optimization right there
 
At the base host always add most of values to increase site speed and you can top up the same using Cache Plugin + CDN.

Async JavaScript plugin is must try for you along with Cloudflare CDN. Good thing is everything is FREE :)

Try to mix and match Async JavaScript plugin with W3 total cache or any other cache plugin and you're good to go.
 
How to use wp-rocket with jetpack I don’t see my stats very buggy why ?
 
Back
Top