Skip to content

Troubleshooting

raamdev edited this page Nov 19, 2014 · 19 revisions

Table of Contents


List of Incompatible Plugins

If you're having issues running Quick Cache, a great first step is to verify that you're not running any of these plugins, which have been known to cause problems:

  • Force Gzip - Force Gzip uses ob_gzhandler(), which Quick Cache is not compatible with. Quick Cache is not compatible with output buffers that attempt to pre-compress HTML output.
  • CSS-JS-Booster - CSS-JS-Booster uses ob_gzhandler(), which Quick Cache is not compatible with. Quick Cache is not compatible with output buffers that attempt to pre-compress HTML output.
  • Mobble - Mobble provides conditional functions for detecting a variety of mobile devices & tablets. However, since Quick Cache generates caches using PHP Output Buffering, once a cache is generates no PHP functions on that page will be evaluated until the cache is regenerated. If you must use Mobble, you can exclude mobile User-Agents from being cached by Quick Cache (see Mobile Themes).

CloudFlare

If you're using CloudFlare with Quick Cache, keep in mind that if you have Auto Minify (HTML) turned on in CloudFlare, all of the HTML comments will be stripped from your content. The Quick Cache notes that get added to the HTML to tell you that Quick Cache is working properly (see Dashboard -> Quick Cache -> Enable/Disable -> How Can I Tell Quick Cache is Working?) are written to the HTML as HTML comments, so CloudFlare will strip those as well.

This might make it seem like Quick Cache isn't running when in fact it is.

To see if Quick Cache is running properly, you can temporarily put CloudFlare into Development Mode, which disables this Auto Minify functionality and allows you to see the Quick Cache notes in the HTML.

With CloudFlare's Auto Minify (HTML) turned on, you might also see 4 blank lines at the very bottom of your source code where you'd expect to find the Quick Cache notes:

screen shot 2014-03-30 at 7 52 11 pm

Nginx

Quick Cache and Quick Cache Pro both support the Nginx web server. If you're having issues, here are a few things to try:

  • If you have Zlib compression enabled, try disabling it.

Mobile Themes

If you're having issues with your Mobile Theme appearing on the Desktop, or the Desktop Theme appearing on mobile devices, Quick Cache is probably caching your mobile theme and then showing it to all visitors, including your Desktop visitors. To prevent this from happening, you'll need to tell Quick Cache to disable caching for mobile devices.

With Quick Cache Pro, you can specify a list of User-Agent Exclusion Patterns in Dashboard → Quick Cache → User-Agent Exclusion Patterns:

iPhone * Mobile
iPod * Mobile
Android * Mobile
BB * Mobile Safari
BlackBerry * Mobile Safari
IEMobile/10.0 * Touch
IEMobile/7.0
IEMobile/9.0
webOS

For more information about this feature, see the Plugin Options Documentation.

user-agent-exclusion-patterns

Auto-Cache Engine

When enabled, the Auto-Cache Engine runs every 15 minutes via WP Cron. If the Auto-Cache Engine doesn't seem to be working, you can try manually initiating it by visiting http://yoursite.com/?quick_cache__auto_cache_cron=yes.

Quick Cache Pro Updater Not Working

If you're getting a 404 error when attempting to run the Quick Cache Pro Updater, you most likely have software on your server blocking the request to the WebSharks update server. The most common culprit is Apache's ModSecurity module.

Please contact your web host with the following request, which should disable the particular ModSecurity rule that often causes issues with the Quick Cache Pro Updater:

I run a WordPress plugin called Quick Cache Pro and its updater requires that ModSecurity rule #340163 be whitelisted/disabled for my domain. Can you please whitelist/disable ModSecurity rule #340163?