Title: Exclude a specific plugin
Last modified: December 6, 2024

---

# Exclude a specific plugin

 *  Resolved [vallesierra7](https://wordpress.org/support/users/vallesierra7/)
 * (@vallesierra7)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/exclude-a-specific-plugin-2/)
 * Hello!
 * With this plugin is it possible to disable the cache for a specific plugin?
   It
   happens that I have a plugin installed on my site that restricts my store according
   to opening hours, when the store is closed a countdown is displayed that does
   not work correctly when the cache is active. Would it be possible to exclude 
   this plugin?
 * Thanks.

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

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/exclude-a-specific-plugin-2/#post-18183477)
 * unfortunately that is not possible , the cache unit is per page , so you can 
   only cache or no-cache per page basis
 * based on your description, I’d suggest : do a purge cache when store closes/opens
 * or use javascript on client-side , to display open or close , this way the server
   side can maintain its cache
 *  Thread Starter [vallesierra7](https://wordpress.org/support/users/vallesierra7/)
 * (@vallesierra7)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/exclude-a-specific-plugin-2/#post-18183516)
 * I understand.
    1. Could you tell me how I can perform this purge automatically.
    2. About using javascript on the client side to show opening or closing, this is
       not done by the plugin.
    3. At some point we have disabled certain things with “nonce” could this be done
       in this case?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/exclude-a-specific-plugin-2/#post-18183553)
 * if that open/close plugin has hook , you can hook it with `do_action( 'litespeed_purge_all');`
 * otherwise you can use system cron to call a standalone file with code like
 *     ```wp-block-code
       <?phprequire('./wp-load.php');do_action( 'litespeed_purge_all' );
       ```
   
 * at your close/open time
 * I am not sure what do you mean by/with nonce here..?
 *  Thread Starter [vallesierra7](https://wordpress.org/support/users/vallesierra7/)
 * (@vallesierra7)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/exclude-a-specific-plugin-2/#post-18183674)
 * What I mean is that at some point when I have had problems with other sites you
   have told me to enter additional code in “ESI Settings”
 * The site in question is [https://qr.soluciones724.com/laventanacevichera/](https://qr.soluciones724.com/laventanacevichera/)
 * The plugin used is “Store Opening Closing Hours Manager” [https://wordpress.org/plugins/store-opening-closing-hours-manager/](https://wordpress.org/plugins/store-opening-closing-hours-manager/)
 * Please can you tell me specifically what I could do?
   Thank you in advance.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/exclude-a-specific-plugin-2/#post-18188184)
 * this doesn’t seem have anything to do with nonce ?
 * if you don’t want to use system cron method , then I have no more idea, but I
   just create topic in that plugin’s forum , see if its dev has any hook for me
   to use to trigger the cache purge when open/close time is reached

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

The topic ‘Exclude a specific plugin’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/exclude-a-specific-plugin-2/#post-18188184)
 * Status: resolved