Quick Cache (Speed Without Compromise)
A function to clear a single page from cache with another plugin (1 post)

  1. Jakob Lenfers
    Posted 2 years ago #


    someone asked me if I could add support for your cache plugin in my reaction-buttons plugin. I would need a function that my plugin could call that deletes a single page from cache. (Every time a user clicks on a counter the cache should be cleared so the next visitor sees the correct counter.)

    All I found in clearing-routines.inc.php were functions that seem to need admin-access. The plugin is called from user actions on the frontend, therefore there is no admin access. Is there another way to clean the cache?

    I did the same for W3 Total Cache like this:

    if (function_exists('w3tc_pgcache_flush_post')) {

    As far as I understand define("QUICK_CACHE_ALLOWED", false) wouldn't help as well, since I don't care about this page load, but all the following ones.



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Quick Cache (Speed Without Compromise)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic