Title: Cache plugins
Last modified: March 27, 2017

---

# Cache plugins

 *  [mattthev1](https://wordpress.org/support/users/mattthev/)
 * (@mattthev)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/cache-plugins-2/)
 * Hi,
    I’ve tried Comet Cache and WP Super Cache but if this plugin regenerate 
   merged files it won’t clear cache pages. Is there anyway how to clear cache when
   files are marged? I found some clear turioals on Comet Cache pages it would be
   also on WP Super Cache but it wasn’t working for me. Can you provide some solution
   pls? I think lot of us using cache plugins and this plugin is useless if it’s
   not colaborate with them. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [calebergh](https://wordpress.org/support/users/calebergh/)
 * (@calebergh)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/cache-plugins-2/#post-9015290)
 * Hello:
    Thanks for a great plugin. I have the same issue as [@mattthev](https://wordpress.org/support/users/mattthev/)–
   I’m using “Simple Cache” as well as CloudFlare, and when the plugin auto-regenerates
   merged styles / scripts, the cached HTML / files that the caching plugins / providers
   have generated can no longer find the merged files, because the names have changed(
   due to the $token being set to a timestamp).
 * I had two ideas:
    1. Somehow cause your plugin to trigger a “Purge Cache” on 
   those plugins / service (I know CloudFlare has an API in which you can trigger
   a “Purge Cache”, and it appears Simple Cache offers a hook – `sc_purge_cache`–
   that could be leveraged). This seems complex, but could be cool (and could justify“
   paying” for the plugin)
 * OR
 * 2. Allow the user, in the dashboard, to define the “token” that is used in the
   scripts / styles, instead of always using the timestamp. In this way, even the
   rebuilt file could be found / loaded, and the user could manually increment the
   token when desired in order to “bust” browser caches.
 *  Thread Starter [mattthev1](https://wordpress.org/support/users/mattthev/)
 * (@mattthev)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/cache-plugins-2/#post-9018153)
 * Hi [@calebergh](https://wordpress.org/support/users/calebergh/),
    I’ve tried 
   wipe Comet Cache but it wasn’t working well. But it should work. So I’ve start
   using Autoptimize, it’s working very well with Comet. I really like it.
 *  Plugin Author [Agus Prawoto Hadi](https://wordpress.org/support/users/agusph/)
 * (@agusph)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/cache-plugins-2/#post-9018722)
 * Hi, thank you for all the feedbacks, sorry for very late response.
 * After doing some research, I agree with [@calebergh](https://wordpress.org/support/users/calebergh/),
   the problem is that the plugin auto generates the token, so the filename always
   changed. the token is useful to force the browser to always download the fresh
   content.
 * Thank you [@calebergh](https://wordpress.org/support/users/calebergh/) for the
   suggestions, I think it’s better to change the way the token generated, not automatically
   anymore. I’ll try to provide a button so the user can generate a new token by
   clicking that button.
 * [@mattthev](https://wordpress.org/support/users/mattthev/), I’m sorry for your
   experience with the plugin, I glad you found better solutions 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cache plugins’ is closed to new replies.

 * ![](https://ps.w.org/aph-merge-scripts/assets/icon-128x128.png?rev=1463254)
 * [APH Merge Scripts](https://wordpress.org/plugins/aph-merge-scripts/)
 * [Support Threads](https://wordpress.org/support/plugin/aph-merge-scripts/)
 * [Active Topics](https://wordpress.org/support/plugin/aph-merge-scripts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/aph-merge-scripts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/aph-merge-scripts/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)

 * 3 replies
 * 3 participants
 * Last reply from: [Agus Prawoto Hadi](https://wordpress.org/support/users/agusph/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/cache-plugins-2/#post-9018722)
 * Status: not resolved