Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi kingluca,

    Like you, I started out by testing QC Lite and indeed it works perfectly. But, the most important thing for me is the functionality to clear the cache per blog. I found out this is not possible when installing the plugin on the main blog of the multisite installation. The plugin (and hooks for clearing cache when updating posts etc) is only loaded on the main blog.

    Thefefor, I moved the plugin to the mu-plugins folder. Now the plugin (and cache hooks / actions) is loaded for every blog. The admin panel is still only available to the network admin on the main blog as this is properly coded and limited by user role / cap. But, the clear cache button is available on every blog. So now the cache is cleared automatically when updating posts or when pushing the button.

    This is not affecting the cache read / write functionality as this is handled by the file advanced-cache.php in /wp-content.

    So, what I did:
    1. Moved the plugin to the /mu-plugins folder
    2. Moved the file quick-cache-pro.php from /mu-plugins/quick-cache-pro/ to /mu-plugins/
    3. Changed the include path in quick-cache-pro.php from dirname(__FILE__).’/quick-cache-pro.inc.php’; to dirname(__FILE__).’/quick-cache-pro/quick-cache-pro.inc.php’;

    Step 2 and 3 are required because wordpress does not look inside subdirectories of /mu-plugins/ .

    For me this is working like a charm now. I did not find any documentation regarding such a fix.

    I hope one of the plugin developers can confirm this solution is safe to use and maybe add a section in their documentation to help others.

    Hope I helped you out.

    Regards,

    Gerard

Viewing 1 replies (of 1 total)