Last Updated on
SG 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, WpSuper cache etc. are not good but with Siteground hosting, SG optimizer works best rather than these caching plugins.
So, in this article, I am going to help you set up SG optimizer with the best settings for caching.
SG Optimizer Best Settings
1. Install & Activate
First of all, you need to install and activate the SG Optimizer plugin.
Go to plugins- Add new- Search SG 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 URL’s – 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
Set Your PHP Version – Here you can select the PHP versions and if you are on their managed hosting account then its recommended to select managed PHP. With managed PHP, SiteGround will automatically update your PHP once they are sure the newer version is stable.
Gzip compression – I have a managed account so it’s already enabled by default. If you are using 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 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 have 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 optimizes 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 which 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 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 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.
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 optimizer, my results are 90+ in GTmetrix and Google pagespeed insights.
Use these best combination to attain these results
These are the SG 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 and with the help of his articles, you can learn WordPress & Blogging in a simple way.
CONTACT: [email protected]
1. “Be yourself. Everyone else is already taken.”
2. “First, learn the rules, then break them”