Title: Do not cache on php page
Last modified: October 20, 2018

---

# Do not cache on php page

 *  [hogava](https://wordpress.org/support/users/hogava/)
 * (@hogava)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/do-not-cache-on-php-page/)
 * i have a php page in my site root that i added wp library there.
    how i can exclude
   this page from caching?

Viewing 1 replies (of 1 total)

 *  [codyarsenault](https://wordpress.org/support/users/codyarsenault/)
 * (@codyarsenault)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/do-not-cache-on-php-page/#post-10803042)
 * You should be able to use the Cache Exclusions option: “Regexp matching page 
   paths that should not be cached” to exclude specific pages that you do not want
   cached.

Viewing 1 replies (of 1 total)

The topic ‘Do not cache on php page’ is closed to new replies.

 * ![](https://ps.w.org/cache-enabler/assets/icon.svg?rev=2442383)
 * [Cache Enabler](https://wordpress.org/plugins/cache-enabler/)
 * [Support Threads](https://wordpress.org/support/plugin/cache-enabler/)
 * [Active Topics](https://wordpress.org/support/plugin/cache-enabler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cache-enabler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cache-enabler/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [codyarsenault](https://wordpress.org/support/users/codyarsenault/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/do-not-cache-on-php-page/#post-10803042)
 * Status: not resolved