Title: Problem With New Posts Exploding Theme
Last modified: June 11, 2023

---

# Problem With New Posts Exploding Theme

 *  Resolved [mojosavingscom](https://wordpress.org/support/users/mojosavingscom/)
 * (@mojosavingscom)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/problem-with-new-posts-exploding-theme/)
 * So I really really want to use this plugin. Heck, I’d pay for a pro version if
   it’d resolve this one issue. The fact that it pushes my site’s cloudflare caching%
   from 8-10% up to 20-30% in just a day of running is amazing.
 * I’ve installed the plugin and used it standalone caching plugin. I’ve tried using
   in conjunction with WP Rocket (both as recommended and attempted allowing WP 
   Rocket to do the fallback cache).
 * Everything works great until I publish a new post. Then suddenly on any page 
   refresh my theme (Rehub) just explodes. All the menu bars are exploded out into
   the header, everything is just jacked up. And, the only way to resolve it is 
   to clear all caches full (memcached, nginx, your plugin, cloudflare, even the
   browser cache of every computer that’s ever browsed the site) to get it to stop
   exploding on a page refresh.
 * Oddly in a private tab the page will first appear normal, it’s just page refresh
   that explodes it but after that it stays exploded for that users browser (until
   they clear the cache).
 * Any ideas how this might be resolved?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-new-posts-exploding-theme%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/problem-with-new-posts-exploding-theme/#post-16811881)
 * Hi [@mojosavingscom](https://wordpress.org/support/users/mojosavingscom/),
   Can
   you please deactivate this plugin and then also deactivate WP Rocket and then
   check if under `/wp-content/` folder the `advanced-cache.php` file has been removed.
   Then just enable this plugin and use it without using the WP Rocket and let me
   know if the issue still persists or not. Do not enable the WP Rocket plugin while
   testing.
 *  Thread Starter [mojosavingscom](https://wordpress.org/support/users/mojosavingscom/)
 * (@mojosavingscom)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/problem-with-new-posts-exploding-theme/#post-16812052)
 * Thanks for the reply, I think I did try manually removing that file before when
   I was testing, but maybe not in that order. Let me try it again and see.
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/problem-with-new-posts-exploding-theme/#post-16812210)
 * Yah, try it and make sure WP Rocket is fully deactivated from the WP Admin > 
   Plugins section.
 *  Thread Starter [mojosavingscom](https://wordpress.org/support/users/mojosavingscom/)
 * (@mojosavingscom)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/problem-with-new-posts-exploding-theme/#post-16812291)
 * So oddly enough deleting that file before activating it again did help. I notice
   that when WP Rocket is disabled that file becomes 0 byte size but is still there.
   Before, I know I had checked that file (because I suspected it might be an issue)
   and it was definitely the one created by SPCFC, but the problem persisted. So
   maybe having that 0 byte file there threw something off with the setup.
   It still
   causes one odd anomaly on my site (a mega menu loads incorrectly on all posts,
   but somehow is totally normal on all pages) but that’s a minor annoyance on a
   menu that I’ll probably be getting rid of anyway.
 * I was even able to re-activate WP Rocket to use it’s other (non-caching) features,
   and so far so good after making two new posts and clearing every cache a couple
   times to thoroughly test it.
   I’m wondering if part of the issue may have also
   related to the option to clear HTML only (which I also changed). Perhaps some
   CSS was getting left behind which was combined/minimized or otherwise not what
   was expected and getting found somewhere in the bowels of an nginx cache file.
   As a suggestion, maybe a third option would be nice. “Clear HTML, CSS, Fonts,
   etc. but not Media”. That way larger files like images don’t need to be cleared
   but we can still clear everything else when say a theme update is pushed out 
   and it gets tweaked.In any event, thanks for an awesome plugin! Please keep up
   the good work. I look forward to one day buying the pro version with all the 
   bells and whistles (combine/minify CSS, javascript, unload unused js, lazyloading,
   etc) of other caching plugins.
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/problem-with-new-posts-exploding-theme/#post-16812336)
 * Hi [@mojosavingscom](https://wordpress.org/support/users/mojosavingscom/),
   Thanks
   for confirming that the issue was coming from WP Rocket. Here are my recommendations:
    1. I will suggest you not to use WP Rocket and instead use a plugin like Perfmatters
       which is not a caching plugin but rather an optimization plugin.
    2. If you must need to use WP Rocket, use this to stop WP Rocket from generating`
       advanced-cache.php`. Read: [https://gist.github.com/isaumya/d5990b036e0ed2ac55631995f862f4b8](https://gist.github.com/isaumya/d5990b036e0ed2ac55631995f862f4b8)
    3. Do not make changes to this plugin settings unless you completely understand
       what it is doing or it’s recommended in the support.
 * Try these recommendations and let me know if you are still facing issues.
 *  Thread Starter [mojosavingscom](https://wordpress.org/support/users/mojosavingscom/)
 * (@mojosavingscom)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/problem-with-new-posts-exploding-theme/#post-16812515)
 * Thanks! I’ll look into that if any problems persist. Even when I was having problems
   before, the advanced-cache.php file was exactly as it is now. So it doesn’t seem
   that Rocket is doing anything to that particular file.
 * Regardless, right now this is what I’m getting in Lighthouse:
 * ![](https://i0.wp.com/mojos.sfo3.cdn.digitaloceanspaces.com/temp/Clipboard03.
   jpg?ssl=1)
 * So until it breaks again I’m not touching it ;). Seems I finally found the perfect
   combination to make google pagespeed happy and have a site that’s blazing fast.
 * Thanks you wordpress wizard!
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/problem-with-new-posts-exploding-theme/#post-16812910)
 * Hi [@mojosavingscom](https://wordpress.org/support/users/mojosavingscom/),
   I’m
   happy to help. 🙂 If you like the plugin, please consider sharing a review in
   the review section of this plugin. I’m resolving this thread now.

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

The topic ‘Problem With New Posts Exploding Theme’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [2 years, 12 months ago](https://wordpress.org/support/topic/problem-with-new-posts-exploding-theme/#post-16812910)
 * Status: resolved