Troubleshooting & Compatibility

14 results

Broken layouts, errors, and unexpected behavior.

Can I exclude a shortcode from the cache?

It's not possible to exclude the output of a shortcode from being cached. That would require fragment caching which WP Rocket doesn't support.  Page caching caches the entire output of the page. If your shortcode requires PHP to update its…

ManageWP: how to clear and preload WP Rocket cache

You can clear and preload WP Rocket cache from your ManageWP control panel. To do it, you can use the following snippet.  <?php // ManageWP PHP Snippet, will clear the cache and trigger a preload. // related doc: https://docs.wp-rocket.me/article/1320-managewp-how-to-clear-wp-rocket-cache // Load…

Redis and object caching

Redis is used to perform object caching. This is a different type of caching than the page caching provided by WP Rocket. So it's completely possible to use Redis, or another type of object caching at the same time as…

Subpages are not cached

If the $_GET super global variable is customized for some reason, this might result in WP Rocket not caching and optimizing pages.  This can happen in some server environments, like  NGINX (if customized), Plesk Onyx and IIS. The main symptom…