> ## Content Index
> Fetch the complete content index at: https://wp-pluginskit.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# Speed Optimizer: choose the right cache for your host
- URL: https://wp-pluginskit.org/sg-cachepress/
- Published: 2026-11-26T12:27:11.000Z
- Updated: 2026-11-27T16:40:19.000Z
- Description: Choose the cache layers your host supports, verify the right pages stay dynamic, and tune assets one change at a time.
- Author: Eric Bennett
- Tags: Plugins, Performance, #free

Use Speed Optimizer as the main cache control for a WordPress site on SiteGround. On another host, use its file-based cache only if another tool isn't already doing that job; Dynamic Caching and Memcached require SiteGround's servers. I'd establish one working cache, check that private and interactive pages behave correctly, then add frontend optimizations one at a time.

## Choose the cache your host supports

Speed Optimizer is SiteGround's free performance plugin, previously called SG Optimizer. Its [feature overview](https://www.siteground.com/wordpress-plugins/siteground-optimizer?ref=wp-pluginskit.org) separates features available on other hosts from SiteGround-only services. Installing the plugin elsewhere doesn't add SiteGround's server infrastructure.

| Your hosting | Start here                                                                                                                                                      |
| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| SiteGround   | Use Dynamic Caching and Automatic Purge. Enable Memcached in Site Tools before enabling it in WordPress. Decide separately whether you need file-based caching. |
| Another host | Use File-Based Caching if no other plugin owns the page cache. Dynamic Caching and Memcached won't become available through this plugin.                        |

Dynamic Caching stores complete pages through NGINX. Memcached stores reusable database-query results; it serves a different purpose. The [current caching instructions](https://www.siteground.com/tutorials/wordpress/speed-optimizer/supercacher?ref=wp-pluginskit.org) say SiteGround's Dynamic Caching is enabled at server level even without the plugin. The plugin adds control over purging, exclusions and related settings.

File-Based Caching stores generated HTML in the WordPress cache directory on the server. It is off by default. On SiteGround it requires Dynamic Caching; on another host it can work independently. Don't confuse those stored pages with the browser's cache of static files.

## Give each optimization one owner

Before changing settings, save a recoverable backup of the database and files. [UpdraftPlus](https://wp-pluginskit.org/updraftplus/) is one option if you need to establish that backup workflow. Record which plugin or host service currently handles page caching, CSS and JavaScript changes, lazy loading and database cleanup.

I'd keep one plugin responsible for each of those functions. Installing another optimizer with its defaults can duplicate work and make a broken checkout or missing image harder to trace. A host with a different cache stack deserves a different choice: the [LiteSpeed Cache guide](https://wp-pluginskit.org/litespeed-cache/) explains its server-dependent page cache. Use the [plugin catalog](https://wp-pluginskit.org/tag/plugins/) to choose the tool that matches your hosting rather than accumulating optimizers.

If WP Rocket is already part of your setup, its [Speed Optimizer compatibility instructions](https://docs.wp-rocket.me/article/115-using-sg-optimizer?ref=wp-pluginskit.org) specify Dynamic Caching on, File-Based Caching off, Memcached on and Automatic Purge on. Enable the SiteGround Memcached service first. WP Rocket supplies the file cache in this arrangement, while Speed Optimizer maintains the SiteGround integration. Disable duplicated frontend features too.

That documented combination is an option for an existing WP Rocket user. It isn't a reason to buy another plugin before identifying what your current setup needs.

## Verify caching and the pages that stay dynamic

Open **Speed Optimizer → Caching**. For a SiteGround site, check Dynamic Caching first. If you choose File-Based Caching, turn on its switch before selecting **Configure**; the button is inactive while the cache is off.

![File-Based Caching panel with its switch off and Configure inactive](https://storage.ghost.io/c/22/ff/22ffd352-f3bc-45bd-a485-cf053432a3b5/content/images/2026/11/sg-cachepress-file-cache-96afd42d.webp)

Configure becomes available after File-Based Caching is enabled. On SiteGround, Dynamic Caching must also be active. [View full size (opens in a new tab)](https://storage.ghost.io/c/22/ff/22ffd352-f3bc-45bd-a485-cf053432a3b5/content/images/2026/11/sg-cachepress-file-cache-96afd42d.webp?ref=wp-pluginskit.org)

Leave **Logged-in Users Cache** off for the first setup. The documented default excludes logged-in users; enabling it creates a separate cache for each user and increases stored cache data. A membership site's personalized output needs its own verification before changing that default.

Enable **Automatic Purge** so relevant content changes refresh the cache. SiteGround users need Dynamic Caching active for this setting; users on other hosts need File-Based Caching active. Use **Purge Cache** or the admin bar's **Purge SG Cache** after a change when you need an immediate refresh.

At the bottom of the page, enter a path in **Test URL Caching Status** and choose **Test**. Check a public content page and each page you intend to exclude. Under **Exclude URLs from Caching**, the pencil control accepts a relative path or full URL; **Confirm** saves it. A wildcard can exclude a whole section, so check its scope before applying it.

![Speed Optimizer Exclude URLs from Caching dialog with Confirm button](https://storage.ghost.io/c/22/ff/22ffd352-f3bc-45bd-a485-cf053432a3b5/content/images/2026/11/wppluginskit-sg-cachepress-context-desktop-2c1313b42d.webp)

Confirm only the paths you intend to exclude, then test those pages in their visitor sessions.

A cached public page is only half the check. Open the cart, checkout, account area and any personalized page in appropriate visitor sessions. Verify the correct cart and account data, complete a controlled form submission, and check the result after a purge. If a page must remain dynamic, verify that outcome instead of assuming its name guarantees an exclusion. Leave **Browser-Specific Caching** off unless different browser output requires it; separate copies reduce cache efficiency.

## Change assets with a working page to compare

The [frontend controls](https://www.siteground.com/tutorials/wordpress/speed-optimizer/frontend-optimization?ref=wp-pluginskit.org) can minify CSS, HTML and JavaScript, combine files and defer render-blocking JavaScript. Start with one change, purge, then check the same page. Include a menu, slider, form and checkout where those features exist.

I'd leave file combination off initially. A working cached page gives you a useful baseline; combining files adds another variable before you've established a need. The documentation specifically warns that combining or deferring JavaScript can break scripts that need a particular execution order. If a change breaks a feature, reverse that change, purge and verify recovery. Use the relevant exclusion control only after identifying the affected file.

Lazy loading also needs a visual check. The [media instructions](https://www.siteground.com/tutorials/wordpress/speed-optimizer/image-optimizations?ref=wp-pluginskit.org) warn about slider compatibility and provide exclusions by CSS class or media type. Check the opening image and the first slider frame on a phone, then scroll through the rest of the page.

Image compression and WebP generation are SiteGround-only features. WebP delivery also requires **NGINX Direct Delivery** in **Site Tools → Speed → Caching**. The compression and WebP controls exclude PNG files larger than 1 MB. Keep original-image backups when trying compression, and compare detail before processing a large library. On another host, choose an image workflow that your host supports.

## Keep cleanup and HTTPS changes deliberate

Don't enable every Environment option to fill a dashboard score. The [Environment documentation](https://www.siteground.com/tutorials/wordpress/speed-optimizer/environment-optimization?ref=wp-pluginskit.org) says HTTPS Enforce adds a redirect rule; establish a working certificate first. Use Fix Insecure Content when you have mixed-content warnings to resolve, rather than adding rewriting to an already-correct site.

Review the selected tasks before enabling **Scheduled Database Maintenance**. It schedules weekly cleanup, but the first cleanup runs on the next page load after enabling it. Take the database backup before that switch. Adjust Heartbeat only with a reason and recheck editing; a lower request count isn't useful if it disrupts your working process.

## Compare repeated runs with their conditions

In [WinningWP's 2019 comparison](https://winningwp.com/siteground-with-wp-rocket/?ref=wp-pluginskit.org), Colin Newcomer tested an Avada demo with SiteGround's cache and SG Optimizer, then with WP Rocket added and overlapping features disabled. Exact plugin and theme versions aren't reported. He used WebPageTest from Chicago with a 20/5 Mbps connection, ten runs per setup on each of three days, and warmed the page beforehand.

Recalculating medians from the 30 displayed run values per setup gives 3.53 seconds for SG Optimizer and 3.32 seconds with WP Rocket added. The respective ranges were 2.81–6.75 and 2.49–5.77 seconds. These are calculations from one publisher's historical load-time data, not present-day LCP measurements or a current plugin ranking. The wide overlap is a reason to compare repeated runs, rather than choose from one favorable result. Current Speed Optimizer also has preheating, so the article's old feature comparison no longer describes today's options.

For your decision, compare the same representative URL, device, test location and cache state before and after one change. Record loading results alongside whether the page still works. Keep an optimization that improves that combination; a better score with a broken form is a failed change.

Setup guide

## Set up Speed Optimizer

1. **Check compatibility and recovery.** Version 7.8.6 requires WordPress 5.5.1 or later and PHP 7.0 or later. These are minimum requirements, not a recommendation to retain an obsolete runtime. Save a database-and-files backup and record the existing optimization settings.
2. **Install the official plugin.** In **Plugins → Add New Plugin**, find **Speed Optimizer** by SiteGround, confirm the [official listing](https://wordpress.org/plugins/sg-cachepress/?ref=wp-pluginskit.org), then choose **Install Now → Activate**. Check whether your SiteGround installation already has it before adding anything.
3. **Choose one file-cache owner.** Open **Speed Optimizer → Caching**. On SiteGround, use Dynamic Caching; enable the Memcached service in Site Tools before the plugin switch. On another host, use File-Based Caching if no other plugin handles page caching. For WP Rocket, follow its combination settings above.
4. **Review optional file-cache settings.** Configure is available after File-Based Caching is on. Preheat Cache reloads pages after purging and depends on WordPress's built-in cron. Leave logged-in caching off initially and check server load before expanding preheating.
5. **Verify refreshes and exclusions.** Enable the applicable Automatic Purge setting. Purge, test a public URL and intended exclusions, then check cart, account and form behavior. Edit a small piece of content and confirm visitors receive the update.
6. **Tune one remaining function at a time.** Add a frontend or media optimization, purge, and compare both loading and functionality on a phone and desktop. Reverse a setting that breaks the page and verify recovery before proceeding. Review optional technical-data collection preferences in the plugin settings.