Guide for BLAZING fast WP site Worldwide

Cleast Intwood

Power Member
Joined
Jul 2, 2016
Messages
689
Reaction score
421
I've been spending a lot of time to optimize my sites. Many hours here and there, so I thought id write a guide on the best setup I've found so far.

There are many good plugins, but no one of them covers all that I need so I use a set of plugins for this. There are surely easier ways to add caching and CDN, but I think this is one of the most effective methods.

The plugins I use:

  • WP Rocket(I think WP fastest cache should work almost just as well, but then use WP optimize to optimize database)
  • Fast Velocity Minify ( For minified CSS/Javascript that stays cached and not rebuilt every X seconds)
  • Clearfy(For disabling unnecessary settings in WP, might be better/slimmer plugins available for this)
So these three plugins + CDN

REMEMBER TO BACKUP YOUR SITE BEFORE U MAKE THESE CHANGES

Many of you will want to run the same or very similar settings like me, but of course, all sites are different so pay attention when u do this and check what ur actually enabling. There are more options that might be more suitable for you, or even better for me as well as this guide won't be perfect, but good.

Make sure u don’t enable the same feature on two different plugins, or contradictory features like disable google fonts on one and compress google fonts on the other. It will probably still work but might break the site, and put extra load on your server for sure.

Before we begin, test your site with these two tools:
https://tools.pingdom.com/
https://gtmetrix.com/

Ok so let's dive into it, these are the settings I set for each plugin

WP Rocket:
(If you use another cache plugin, set similar settings)
  • Enable cache for desktop and phone.
  • Enable Lazy load for images and videos, replace youtube iframe with preview image.
  • Disabled WordPress embeds
  • Add automatic preload from Yoast(Might not be a good idea if ur on weak shared hosting, I use digitalocean)
  • Optimize database(can be done with WP optimize instead if u don’t have rocket)
  • Add CDN URL
Fast Velocity Minify

  • Force HTTPS urls(if u run HTTPS that is)
  • Strip HTML comments
  • Inline Google Fonts CSS
  • Add CDN URL
Optional(I may be doing this wrong, so be a bit careful with this one)

  • Under Preconnect Headers, I added all the external domains that im loading scripts from(u can easily see these if u run a pingdom speedtest and scroll down to the request list)
My list looks something like this:

//www.facebook.com
//connect.facebook.net
//otherdomain.com
Etc


Clearfy

  • Run one-click code clearing
  • Then goto performance tab, enable the following(unless u actually need one of these, read at the question mark if)
  • Remove RSD link
  • Remove wlmanifest link
  • Remove shortlink
  • Remove links to previous next post
  • Remove .recentcomments styles
  • Disable google maps(unless u use it obv)
CDN
  • Dont enable Gzip on ur cdn, as we already have css/js minify(thinking of it, gzip with LOW compression MIGHT improve it further but im not sure, have to test this)
Thats it. Clear cache, load the site from all locations so get CDN loads the current version, and ur site should be damn fast.

To expand a bit on why i use this setup with the velocity plugin etc, its because if you use caching with WP rocket or similar plugin it will have a pretty short expiry of minified files, so the CDN will reload your files which results in volatile load times for your site.

Most loads will be fast, but once in a while there will be a much longer load time because of the CDN reloading the CSS/JS(every minute or so, not sure how long the caching setting is but its not long)

Did it help? Got feedback? Know better settings? Would love to hear ur results or feedback in the comments!
 
Last edited:
Q. How to make your site faster?
A. Install more plugins..

j/k not bad for the newbies :)
 
Am using Autoptimize , Wp Rocket And Async javascript

Would Try this out too... thanks
 
I enabled that.
But what about settings in cloudflare account?
Default settings?
You really have to test some settings, I got minify through WP rocket and switched it off in Cloudflare, WProcket advises to switch Rocket loader Off
 
Nice thread, thank for sharing!
And what about the lighthouse audits tool, example like performance, best practices, accessibility score.
Would appreciate if you can make a guide about that :)
 
Nice thread, thank for sharing!
And what about the lighthouse audits tool, example like performance, best practices, accessibility score.
Would appreciate if you can make a guide about that :)
Im glad u like it!

Haha its the first time i ever hear about Lighthouse, so maybe im the one who needs a guide :D
 
I actually added gzip compression, lvl 3(lvl 6 is max) and it decreased load times even more. Yauy!
 
Thank you. This might help a lot of people.
 
Nice guide, I am not familiar with WP optimize thing and afraid to do this even till now, so maybe its time to try a bit. But do u guys have positive evidence that blazing fast website have very good SEO results?

To be clear, I know it is one of the signal. Because flirting with those things, if any error happen that may screw my site, so delay till today.. damn
 
Nice guide, I am not familiar with WP optimize thing and afraid to do this even till now, so maybe its time to try a bit. But do u guys have positive evidence that blazing fast website have very good SEO results?

To be clear, I know it is one of the signal. Because flirting with those things, if any error happen that may screw my site, so delay till today.. damn
Just be sure to backup ur site before u do this, then revert back if it doesnt work out.

Well, as far as i understand, slow speeds punishes ranks, but below 2.5s should probably not matter too much. But i also hear the better the speed the higher the crawl rate, which leads to faster indexing etc. Which is nice.
 
Im glad u like it!

Haha its the first time i ever hear about Lighthouse, so maybe im the one who needs a guide :D
:D, Lighthouse is an open-source, automated tool for improving the quality of web pages. https://chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk
Or you can f12 and open Audits menu.
upload_2018-10-5_22-11-51.png
 
Very useful info. Thank you for your share.
 
Back
Top