SG SiteGround Optimizer Best Settings For Caching in 2022
Last Updated on 16th January 2022 by Ajmer Singh
Looking for Siteground optimizer best settings? Great, because SG Siteground optimizer is the best cache plugin if you are using Siteground hosting. Even you don’t need the premium plugins like WpRocket.
I don’t say the plugins like WpRocket, W3Total cache, wp super cache, etc. are not good but with Siteground hosting, SG optimizer works best rather than these caching plugins.
And yes it works only if you have Siteground hosting because you need to enable some cache settings from the plugin as well as from your SiteGround account panel.
So, in this article, I am going to help you set up SG Siteground optimizer best settings for caching.
NOTE: “We recommend cloudways as the best hosting provider”
SG Siteground Optimizer Best Settings
1. Install & Activate
First of all, you need to install and activate the SG Siteground Optimizer plugin.
Go to plugins- Add new- Search Siteground Optimizer- Install-Activate- Done.
2. SuperCacher Settings
Dynamic caching – Enable
Manual cache purge – Here you can manually clear the dynamic cache for your entire website
Automatic cache purge – Enable
Browser-specific caching – Enable
Excluding URLs – Here you can exclude URLs of your website which you don’t want to cache. Or the URL’s where you can make changes every day.
Test URL’s for cache status – Here you can check the cache status of your above excluding URL, that it’s working or not.
Memcached – Enable
Now login to your SiteGround hosting- go to site tools- speed- caching-
NGINX DIRECT DELIVERY – ENABLE
DYNAMIC CACHE – Nothing to do because you already installed the plugin and enabled the dynamic cache.
MEMCACHED – Enable
Done, that’s all for caching.
3. Environment Optimization
Enable HTTPS – Enable
Fix insecure content – Enable
WordPress HeartBeat Optimization – Disable this if you are using shared hosting because this can generate high CPU usage if Enabled. And some hosting providers will suspend your account or charge extra money if you cross the CPU usage limit.
DNS Pre-fetch for external domains – By enabling this you have the option to add a domain and then you can pre-fetch the DNS for external domains and save the resources loaded from this domain.
Scheduled Database Maintenance – Enable. This feature will clean up and optimize your database. Many other users are using the WP-Optimize plugin for database optimization but here you don’t need an extra plugin.
After enabling this, optimization will perform the below tasks after every 48 hours:
Perform Database Optimization for MyISAM tables
Delete all automatically created post and page drafts
Delete all page and post revisions
Delete all posts and pages in your Trash
Delete all comments marked as Spam
Delete all expired Transients
Set Your PHP Version – Here you can select the PHP versions and if you are on their managed hosting account then it’s recommended to select managed PHP.
With managed PHP, SiteGround will automatically update your PHP once they are sure the newer version is stable. (Update: Now you have to log in to site tools to change your option of manual or managed)
Gzip compression – I have a managed account so it’s already enabled by default. If you are using a different account then enable this.
Browser caching – NGINIX direct delivery takes care of your static resources including proper expiration dates for your browser cache. And you already enabled NGINX direct delivery in the previous step.
4. Frontend Optimization
For minification, I am not using SG Optimizer plugin because Autoptimize is best in the case of minifying java, CSS & HTML.
But still, if you want to use this plugin for minification then,
Minify the HTML output – Enable
Defer render-blocking JS – Enable
Minify CSS files – Enable
Combine CSS files – Disable
Optimize the loading of Google fonts – Enable
Remove query strings from static resources – Enable
Disable emojis – Enable
5. Media Optimization
I am using reSmush.it for image optimization which works better and has more options than this.
But then again, in case you want the settings then,
New Images optimization – Enable (Whenever you upload a new image in your media gallery this will automatically optimize that image)
Existing images optimization – Start Optimization -This can overwrite and optimize all your existing images with minimal or no loss in quality.
Generate WebP copies of New Images – Enable – WebP is the new generation format of images that reduces the size of the image. Choose the type of optimization you need either Lossless or Lossy.
Manage WebP copies for existing images – Here you can generate or delete a WebP copy of your existing media library.
Lazy load media – Enable (recommended because this increases your First content paint or FCP, which you can check in the google page speed insight tool)
6. Performance test
Now you can check your website page speed performance by google page speed insights from here. Also, it gives ideas to improve speed.
That’s a cool new update.
This option will enable full-page caching on your Cloudflare CDN edges.
This will reduce the load on your SiteGround server and improve the loading speeds of your pages because by default Cloudflare will cache only your static resources.
- Visit My Profile
- Click on the key tokens tab
- View Global Key
- copy code
This will perform a complete manual purge of all Cloudflare assets. It may take some time until the cache is purged on all edges.
Siteground is the best hosting provider as compared to my previous hostings in terms of performance, speed as well as support.
With their caching plugin SG Siteground optimizer, my results are 90+ in GTmetrix and Google page speed insights.
But right now, we use Cloudways which is far better than Siteground.
Use these best combination to attain these results
Update: Now you don’t need the WP-Optimize plugin as after the new update you will get database optimization in the SG Siteground Optimizer plugin itself.
These are the SG Siteground optimizer best settings, Share and comment if you like this article.
People also search for:
Ajmer Singh is the Founder & Author of Findmytricks. He is a Passionate Blogger, Content writer & WordPress developer. He loves sharing content related to WordPress and Blogging. He enjoys playing games in his free time.
CONTACT: [email protected]
1. “Be yourself. Everyone else is already taken.”
2. “First, learn the rules, then break them”