Title: Two-fold page cache problem
Last modified: August 21, 2016

---

# Two-fold page cache problem

 *  [godavid33](https://wordpress.org/support/users/godavid33/)
 * (@godavid33)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/two-fold-page-cache-problem/)
 * So I am using w3total cache in conjunction with cloudflare and am really considering
   using something else if I can’t get this figured out soon :/
 * Here are the problems:
 * Posts on my front page don’t update and ads don’t rotate. That is, all of the
   dynamic functionality of my news site doesn’t work correctly. When I empty the
   caches everything goes back to normal, temporarily. I have all options checked
   for purge policy (front page, blog page, archives, etc.). Can someone help me
   figure out what’s going on? I’ve definitely narrowed it down to the page cache.
 * The other side of the problem is that amongst this, dynamic PHP functions don’t
   work because the html page itself is cached. I have tried using mfunc, mclude,
   and putting the specific template file I use for ads in the exception list, all
   with no luck. It isn’t that mfunc or mclude don’t run the code (they weren’t 
   at first but I suspect this was an error on my part) but they just stop.
 * Here’s the peculiarity – everything will work fine when I first re-enable the
   page cache. Then a short while later these problems pop up again.
 * Please help ASAP, my site gets kind of a lot of traffic so I need to have good
   speeds and cache functions but I can’t afford to sacrifice the dynamic content
   on a news site…
 * Thanks
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

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

 *  [jasonpaulweber](https://wordpress.org/support/users/jasonpaulweber/)
 * (@jasonpaulweber)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/two-fold-page-cache-problem/#post-4772034)
 * Cloudflare’s rocket loader may be not compatible with your news rotating plugin;
   it’s not compatible with many WordPress plugins. But for others to help, it’d
   be useful to provide a URL.
 *  [Mike](https://wordpress.org/support/users/maddogmike/)
 * (@maddogmike)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/two-fold-page-cache-problem/#post-4772057)
 * godavid33, for Page Cache are you using Disk:Enhanced? I had the issue with pages
   not updating (garbage collection not working) when I had Disk:Enhanced selected,
   so I had to change Page Cache to APC. That’s not as fast but at least my pages
   update.
 * I’m hoping the new version 0.9.4 will fix this, but I’m reluctant to upgrade 
   as other bugs have been reported.
 *  Thread Starter [godavid33](https://wordpress.org/support/users/godavid33/)
 * (@godavid33)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/two-fold-page-cache-problem/#post-4772112)
 * Thanks Mike, I will try out Page Cache on APC. I have tried both Disk: Enhanced
   and Basic and neither seemed to work well. I am willing to sacrifice a bit of
   speed as long as my content is still updated.
 * jason, my site is not using a news rotating plugin and I also have rocketloader
   off (experienced some of those errors on another site I was working on a while
   back). I’m using WP-Insert to rotate ads and standard wordpress loops and category
   designation to display articles. I also don’t really think the URL would help
   much in this scenario; all of the configuration is on the back end.
 * I did notice, however, that hitting f5 seems to help in some cases. Does this
   infer part of the problem might be the browser cache? Still, when I turn off 
   the page cache, all problems stop occurring.

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

The topic ‘Two-fold page cache problem’ is closed to new replies.

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

## Tags

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

 * 3 replies
 * 3 participants
 * Last reply from: [godavid33](https://wordpress.org/support/users/godavid33/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/two-fold-page-cache-problem/#post-4772112)
 * Status: not resolved