SiteGround Optimizer Plugin Settings

Last Updated on 17th August 2023 by Ajmer Singh

Are you looking for the “Siteground Optimizer Plugin Settings”?

Great, because Siteground optimizer (previously SG Optimizer) is the best cache plugin if you are using Siteground hosting.

Even you don’t need 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, Siteground 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 Cpanel.

Update: Siteground Optimizer is now available to every WordPress user and not limited to siteground hosting clients only.

So, in this article, I am going to help you set up Siteground Optimizer plugin settings for caching.

My Blogging Picks of 2023
Product Company Discount/Offer
Domain 80-85% Off
Hosting Code - AJMER20 & 3 Days Free Trial
Internal Links Plugin Code - AJMER15
Theme Code - AJMER15
SEO Tool 14 Days Free Trial
Affiliate Plugin 25% Off

Siteground Optimizer Plugin Settings & Configuration

Maximize the potential of your website with Siteground Optimizer Best Settings.

Discover the optimal configurations and advanced tweaks to enhance performance, improve loading speeds, and elevate user experience.

1. Install & Activate

Siteground optimizer install and 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. Dashboard

Siteground optimizer dashboard

In the dashboard section, you can check your caching status. 

You can check which settings are enabled and visit directly to other settings with a single click.

3. Caching Settings

Siteground optimizer caching settings

caching settings

Dynamic cachingEnable

Store your content in the server’s memory for faster access with a full-page caching solution powered by NGINX.

Having a Dynamic Cache is essential for speeding up your website.

File-based CachingEnable

With file-based caching enabled siteground will create static HTML versions of your website which will be served to future visitors.

The files are stored in the browser’s memory.


Powerful object caching for your site.

Memcached stores frequently executed queries to your databases and then reuses them for better performance.

Automatic PurgeEnable

When clearing the cache – purge the WordPress API cache tooEnable

When enabled, the cache will be purged automatically without performing manually.

Manual cache purge – Purge cache

Use this to cache purge manually when the automatic purge is disabled.

You can use this option when you’re modifying new content and don’t have automatic purge enabled to make sure that old cached is purged right away.

Exclude URLs from caching – “add URLs here by clicking on the edit button”

You can add URLs here that you don’t want to cache like sitemap URLs.

Browser specific cachingEnable

Generate caching separately for different browsers.

Enable this feature only if you’re experiencing issues with plugins generating mobile versions of your website or other similar functionality.

This feature significantly lowers caching efficiency.

Recommended but Cloudflare is best for this.

4. Environment Settings

Siteground optimizer environment settings

environment settings

HTTPS enforceEnable

It is recommended but useful only for siteground hosting users.

It configures your site to work correctly via HTTPS and forces a secure connection to your site.

In order to force HTTPS, siteground will automatically update your database replacing all insecure links.

In addition to that, Siteground will add a rule in your .htaccess file, forcing all requests to go through an encrypted connection.

You can enforce https from your hosting CPanel or using Cloudflare.

Fix insecure contentEnable

Enable this option in case you’re getting insecure content errors on your website.

Siteground will dynamically rewrite insecure requests for resources coming from your site.

Insecure contents are also called mixed contents.

GZIP compressionEnable

This enables compression of the content that’s delivered to your visitors’ browsers improving the network loading times of your site.

It is recommended as this can reduce the size of your files.

Browser caching – Enable

Cloudflare is better but you can enable this if you are not a Cloudflare user.

Enabling this will add rules to store the static content of your site longer in the visitors’ browser cache which improves the site performance.

WordPress heartbeat Optimization Disable

Recommended by Siteground but I personally don’t recommend enabling this option.

Heartbeats will increase your server load resulting in increased CPU usage.

The WordPress Heartbeat API checks your post edit pages every 15 seconds and your dashboard and front end every 60 seconds, even in the absence of scheduled tasks. 

However, You can modify these settings to reduce load.

Schedule database maintenanceEnable

I always recommend optimizing your database and this option will clean up your database once a week to keep it small and optimized.

Tasks performed by this option,

-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

However, I recommend using WP optimize plugin for advanced database optimizations.

5. Frontend Settings

CSS Settings

Siteground optimizer css settings

NOTE: Do check the site after every setting one by one. So that if you can get any conflict, then disable that setting immediately.

Minify CSS FilesEnable

Minify your CSS files in order to reduce their size and the number of requests on the server.

Exclude from CSS Minification – “Add files”

You can add CSS files here to exclude from minification.

Combine CSS FilesDisable

Sometimes, combining CSS files will break your site or some functionality. So enable or disable it accordingly.

Exclude from CSS combination – “Add files”

You can add files here that you don’t want in the CSS combination.

Preload combines CSSDisable

Helps in increasing page speed, but will break sites in most cases.

Javascript Settings

Siteground optimizer javascript settings

Minify Javascript filesEnable

Minify your JS files in order to reduce their size and the number of requests on the server.

Exclude from javascript minification – “Add files”

You can add JS files here to exclude from minification.

Combine javascript filesDisable

Sometimes, combining JS files will break your site or some functionality. So, enable or disable it accordingly.

Exclude from javascript combination – “Add files”

You can add files here that you don’t want in the JS combination.

Defer render-blocking javascript Enable

This can remove the render-blocking error in page speed results.

Exclude from the deferral of render-blocking JS – “Add files”

You can add JS files here that you don’t want to add in the render-blocking deferral.

General Settings

Siteground optimizer general settings

Siteground optimizer general settings

Minify HTML output – Enable

This can remove unnecessary characters from your HTML output to reduce data size and improve your site loading speed.

Exclude from HTML minification – “Add files”

You can add HTML files here that you don’t want for HTML minification.

Web fonts optimization – Enable

Save extra requests by optimizing web fonts. It is recommended.

You can also disable google fonts by using different optimization plugins like Autoptimize.

Fonts preloading – “Add files”

You can add font files here for preloading. This can help faster rendering and better performance.

Remove query strings from static resources – Enable

Removes version of query strings from your static resources improving the caching of those resources.

Disable emojis – Enable

Always enable this to prevent WordPress from automatically detecting and generating emojis in your posts or pages.

DNS prefetch for external domains – “add URL”

You can add external URLs here for DNS prefetch for faster loading of resources.

6. Media Settings

Siteground Optimizer media settings

media settings

Image Compression – At least 80%

Image compression is used to resize the image sizes. However, it is recommended to backup before applying this setting.

Use WebP Images – Enable

WebP images are next-generation formats and are recommended to use.

Lazy load media – Enable

Lazy loading is important and recommended to everyone.

With lazy loading, images will only be visible and appear when people scroll down.

Exclude CSS classes from Lazy load – “add files”

You can add CSS classes here to prevent and exclude from lazy loading.

Exclude media types from Lazy load – “add files”

You can add media types here to prevent and exclude from lazy loading.

Maximum image width – Enable

Enabling this will optimize, resize, reduce the existing and future images that exceed 2560 px.

7. Speed Test

speed test

Here you can check your posts, pages loading speed.

I don’t know why this feature is added by siteground.

We already have better tools available like GTmetrix and Google Pagespeed insights.

My Opinion & Results!

To achieve 99+ scores in Gtmetrix, google pagespeed insights you just need the best combination of,

  • a fast and reliable web hosting – Cloudways
  • a well-coded theme – Themify Ultra
  • Cloudflare CDN
  • wp-optimize for database optimization

Check my score after this deadly combination.

Siteground page speed mobile SIteground page speed desktop Siteground Gtmetrix

Wrapping Up – Siteground Optimizer Plugin Settings

Feature Description
Caching Provides advanced caching mechanisms to improve website performance by storing static versions of your web pages.
Minification Automatically minifies HTML, CSS, and JavaScript files to reduce their size and improve website loading times.
GZIP Compression Enables GZIP compression to reduce the size of your website's files during transmission, resulting in faster page loading for visitors.
Browser Caching Configures browser caching rules to store static resources (such as images, CSS, and JavaScript) locally, allowing faster page loading upon subsequent visits.
Image Optimization Optimizes images by compressing and resizing them without sacrificing quality, reducing their file size and improving page load times.
Database Optimization Performs automatic database optimization by cleaning up and optimizing your WordPress database to improve website performance.
Lazy Loading Delays the loading of non-visible images and videos, ensuring that only the content visible to the user is initially loaded, improving overall page speed and performance.
Heartbeat Control Controls the WordPress Heartbeat API to reduce server resource usage and prevent unnecessary server requests, improving overall performance.
CDN Integration Integrates with popular Content Delivery Networks (CDNs) like Cloudflare and MaxCDN to offload static content and distribute it across multiple servers for faster delivery.
Query String Removal Removes query strings from static resources' URLs, enabling better caching and improving performance scores in various speed testing tools.
DNS Prefetching and Preconnect Resolves domain names in advance and establishes connections to external resources (like fonts or scripts) to reduce DNS lookup and connection establishment times.

In conclusion, the SiteGround Optimizer plugin offers a comprehensive and user-friendly solution to enhance the performance and security of your website hosted on the SiteGround platform.

The plugin’s caching options enable faster page loading times, reducing server response times and improving overall site performance.

Have any issues setting up, use the comments section.

People also search for:

  1. Keeping Your Site Healthy: Tackling Broken Links
  2. Guide Your Readers: Top Table of Contents Plugins
  3. Optimizing WordPress with Autoptimize: Configuration Tips
  4. WordPress Optimization Made Easy: WP Optimize Settings
  5. Data-driven Insights: How to Add Google Analytics to WordPress