Title: Do not cache sub domain
Last modified: April 10, 2024

---

# Do not cache sub domain

 *  Resolved [rdanamcd](https://wordpress.org/support/users/rdanamcd/)
 * (@rdanamcd)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/do-not-cache-sub-domain/)
 * Is there a way to Not cache a sub domain. For example, I do not want to cache
   dev.example.com but do want to cache test.example.com and [http://www.example.com](http://www.example.com).
 * In the “Prevent the following URIs to be cached” I put in “dev.*” but didn’t 
   seem to work. Should I be doing something different?
 * Thanks Dana

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

 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/do-not-cache-sub-domain/#post-17679599)
 * Hi, by default when you setup the plugin on a specific site it gets setup for
   that site only. So, of you set it up on `www.example.com` then the page cache
   will only work for that and not any other subdomains.
 * If you would like to setup page cache on a sub domain you need to install the
   plugin separately there.
 *  Thread Starter [rdanamcd](https://wordpress.org/support/users/rdanamcd/)
 * (@rdanamcd)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/do-not-cache-sub-domain/#post-17680126)
 * Thanks for the response. We host all our sites on Pantheon.io and you can only
   install plugins in the DEV environment. All code is then pushed via GIT to the
   TEST environment for testing. Then ultimately pushed to the LIVE environment 
   when everything works great. The database and content we sometimes clone from
   LIVE to DEV to work with updated content.
 * I think should be fine. I’ll just remember to turn off Full Page Caching every
   time we wipe the DEV environment and clone the database & content from LIVE where
   caching would be on.
 * Would be nice though to always have set to not cache sub domain “dev.*”.
 * Thanks
 * Dana
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/do-not-cache-sub-domain/#post-17682024)
 * Well, that’s a wired way of installing a plugin. But anyway, the plugin is built
   to be installed on each site separately whether main domain or sub domain.

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

 The topic ‘Do not cache sub domain’ is closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/do-not-cache-sub-domain/#post-17682024)
 * Status: resolved