Skip to main content
Cybersalt Consulting Ltd
Joomla extension

SiteGround Cache

Joomla 5 / 6 cache integration with SiteGround edge

FreeJoomla 5Joomla 6 v2.3.0
Free

Free download. GPL, the same license as Joomla.

SiteGround Cache is a free Joomla 5/6 system plugin that integrates with SiteGroundโ€™s server-side dynamic cache. It auto-purges SiteGroundโ€™s cache when your content changes, sets the right HTTP cache headers, and strips Joomlaโ€™s session cookie on cacheable anonymous responses so the SiteGround edge can actually cache them. Without that last piece, SiteGround returns SKIP_CACHE_SET_COOKIE on every guest hit and the dynamic cache is effectively a no-op for crawlers and first-time visitors.

 

Why this exists

SiteGround hosting ships a reverse-proxy cache that stores copies of your pages for fast delivery. The piece thatโ€™s been missing for Joomla sites is a way to tell SiteGroundโ€™s cache when content changes โ€” and to clear the way for the cache to actually fire on anonymous traffic. Without both, you either disable the cache and lose the performance or leave it on and serve stale pages until the TTL expires. This plugin closes that gap, including the Set-Cookie suppression that Joomla specifically needs (WordPress doesnโ€™t have this problem; Joomla starts a session for every guest and SiteGroundโ€™s edge refuses to cache a response with Set-Cookie).

What it does

BehaviorWhat it covers
Automatic cache purging Saving, deleting or publishing content (articles, categories, modules, menu items), saving a template, or installing an extension purges SiteGroundโ€™s cache once, so modules that list articles on every page stay fresh too.
Only real pages are cached Feeds, JSON, error pages and addresses with query strings (other than marketing tracking parameters such as utm_source or fbclid) are never stored, so a feed canโ€™t end up served as your home page.
HTTP cache headers Sets X-Cache-Enabled: True on cacheable pages so SiteGroundโ€™s reverse proxy knows what to cache.
Set-Cookie suppression Strips Joomlaโ€™s session cookie on cacheable anonymous GET responses so SiteGroundโ€™s edge can actually cache them. Defaults ON. Excluded URLs and components keep full sessions.
Pages with forms are cached too Pages with Convert Forms, RSForm! Pro or a login module are cached with the formโ€™s security token taken out; each visitorโ€™s browser fetches its own the first time they use the form, so submissions still pass the token check. Pages with any other form are left uncached.
Exclusions By URL (with wildcards), component, menu item and user agent. Ships with com_users, com_finder, com_contact, and com_privacy excluded by default so logins, search, contact forms, and privacy consent pages work out of the box.
Admin toolbar purge button One-click Purge SiteGround Cache button in the Joomla admin top bar. Visible on every page; configurable simple-purge or dropdown-with-custom-paths mode.
Status panel and live diagnostic log Live tiles on the pluginโ€™s settings page show SiteGround detection, daemon reachability, Set-Cookie suppression and how many recent pages could be cached. Test my home page fetches your home page and newest article as a visitor and says whether SiteGround caches them, and why not if it doesnโ€™t. An optional scheduled task watches the home page and purges and emails you if it ever isnโ€™t a normal page. The Logs tab shows every cache decision in real time, with filters and an expandable per-entry JSON detail view.
Logged-in user handling Defaults to bypassing the cache for authenticated users so they always see their own session state. Configurable.

Installing it

  1. Download the latest release zip from the link near the top of this page.
  2. In Joomla admin, go to System โ†’ Install โ†’ Extensions and upload the zip.
  3. Thatโ€™s it. The plugin auto-enables. Open System โ†’ Plugins โ†’ SiteGround Cache to see the status panel and review the defaults.

Using it

The shipped defaults are correct for almost every Joomla site running on SiteGround. Confirm the SiteGround Hosting tile on the Plugin tab shows Detected โ€” thatโ€™s the only signal the plugin needs to start working. From there, content changes automatically trigger purges; the Logs tabโ€™s verbose mode is available if you need to see whatโ€™s happening under the hood. Your SiteGround dashboardโ€™s cache ratio should climb over the next 24โ€“48 hours as the edge fills with cached pages.

The plugin settings page: a status panel showing SiteGround Hosting Detected, Cache Daemon Reachable and Set-Cookie Suppression Stripping, above the cache settings
The status panel on a SiteGround site where everything is working.

Every setting, how to check the cache is working, and troubleshooting are in the documentation.

Requirements and platform

Joomla 5.x or 6.x. PHP 8.1 or later. SiteGround hosting โ€” the plugin communicates with SiteGroundโ€™s caching daemon via a UNIX socket that only exists on SiteGround servers. It will install cleanly on any host but cache operations will only fire on SiteGround. The plugin detects non-SiteGround hosting at install time and renders a clear warning in the admin so you know.

Open source

SiteGround Cache is released under the GNU General Public License v2 or later. Source on GitHub. Report bugs and request features through GitHub Issues. The cache communication protocol was learned by studying SiteGroundโ€™s Speed Optimizer plugin for WordPress (GPLv3); no WordPress code was copied โ€” this is an independent Joomla implementation. Not affiliated with or endorsed by SiteGround.

 

 


Interesting blog? Like it on Facebook, Post it or share this article on other bookmarking websites.

Written by:
Tim Davis is the founder and owner of Cybersalt.

Recent changes

Version 2.3.0 8 Nov 2026

New

  • Pages with forms (Convert Forms, RSForm! Pro, the login module, or forms you list) can now be cached; each visitor's browser fetches its own form token.
  • Test my home page button, Recent Uncached Visits tile, and a home page watchdog scheduled task.
  • Excluded Menu Items, Excluded User Agents, Cacheable Query Parameters; Excluded URLs accept *, $ and ?.

Fixed

  • Feeds, JSON, raw output and error pages are never cached (a feed could be served as the home page).
  • Pages with query strings are only cached for tracking parameters or parameters you allow.
  • Form detection with Joomla's Gzip Page Compression on; scheduled task runs no longer purge the whole cache; the Cache Daemon tile now really connects; Joomla 6 dropdown caret.
  • Security hardening.

Languages

  • All 14 translations complete.
Version 2.2.2 19 Oct 2026

Cybersalt SiteGround Cache v2.2.2 (October 2026)

A small fix release.

Fixed

  • Default excluded components were ignored on new installs. The default list (com_users, com_finder, com_contact, com_privacy) is now applied, and the Excluded Components field shows it as selected.
  • PHP warnings on the Logs tab: two undefined labels printed "Undefined array key" warnings on sites that display PHP warnings.

Changed

  • The Getting Started tip no longer tells you to exclude contact and login pages by hand. Form pages have been detected and left uncached automatically since 2.2.1.

Add comment

Submit

Joomla websites built well and looked after properly, from Victoria, BC, Canada, since 1998.

About Cybersalt