Title: Exclude theme files from cache
Last modified: April 17, 2018

---

# Exclude theme files from cache

 *  [dave.ooo](https://wordpress.org/support/users/crossy/)
 * (@crossy)
 * [8 years ago](https://wordpress.org/support/topic/exclude-theme-files-from-cache/)
 * Hi there,
 * This plugin is extremely good! I’ve just run into some issues with a sort of 
   alert/cookiebar, which shows on every page unless people ‘close’ it. When it’s
   closed, a cookie is registered to keep track of their preference.
 * Then, in a separate file, I use PHP to check if the cookie is active and based
   on that the alert shows.
 * I’ve included the whole alert as a separate file, but I’m having trouble excluding
   this file from the cache. I can disable certain pages from showing, but not individual
   files.
 * Is there a way to achieve this with this plugn?
 * Thanks in advance!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [8 years ago](https://wordpress.org/support/topic/exclude-theme-files-from-cache/#post-10190632)
 * did you try another cache plugin before? it works with another cache plugins 
   properly?

Viewing 1 replies (of 1 total)

The topic ‘Exclude theme files from cache’ is closed to new replies.

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

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/exclude-theme-files-from-cache/#post-10190632)
 * Status: not resolved