SiteGround Optimizer Conflict Resolution

Updated on 10. 2. 2026

SiteGround Optimizer Integration

The integration runs when the SiteGround Optimizer options class (SiteGround_OptimizerOptionsOptions) is available and SG_OPTIMIZER_VERSION is defined. There is no UI toggle in ZiziCache.

What the integration does

  • After ZiziCache settings are saved (zizi_cache_update_config:after), it disables conflicting SiteGround options via SiteGround_OptimizerOptionsOptions::disable_option().
  • On wp_loaded it re-checks conflicts and disables them again if needed.
  • On zizi_cache_purge_everything:before it calls sg_cachepress_purge_everything() if available.
  • In wp-admin it shows a notice with the count of disabled options (only when changes were made).

Conflicting SiteGround options disabled by ZiziCache

  • Cache: default_enable_cache, default_autoflush_cache, supercacher_permissions, enable_cache, logged_in_cache, autoflush_cache, file_caching
  • HTML: optimize_html
  • JavaScript: optimize_javascript, optimize_javascript_async, combine_javascript
  • CSS: optimize_css, combine_css, preload_combined_css
  • Fonts: optimize_web_fonts, combine_google_fonts
  • Images: lazyload_images
  • Other: disable_emojis, remove_query_strings

What it does not do

  • It does not coordinate preload or provide unified cache statistics.
  • It does not modify any SiteGround options outside of the list above.
  • It does not provide a UI priority switch between plugins.

How to verify

  1. In SiteGround Optimizer, temporarily enable one of the options listed above.
  2. Save any setting in ZiziCache (any Save action in the ZiziCache admin UI).
  3. Confirm the option was turned off in SGO. If changes were made, an admin notice appears.
  4. For purge testing, run „Clear all“ in ZiziCache or wp zizi-cache purge-everything. If sg_cachepress_purge_everything() exists, SiteGround cache is also cleared.

Disable the integration (optional)

You can disable the integration via the zizi_cache_disabled_integrations filter:

add_filter('zizi_cache_disabled_integrations', function($integrations) {
    $integrations[] = ZiziCachePluginsIntegrationsSiteGround::class;
    return $integrations;
});
What are your feelings