Title: Clearing cache &amp; pagecache breaks site
Last modified: June 27, 2018

---

# Clearing cache & pagecache breaks site

 *  [thinkingcapstudios](https://wordpress.org/support/users/thinkingcapstudios/)
 * (@thinkingcapstudios)
 * [8 years ago](https://wordpress.org/support/topic/clearing-cache-pagecache-breaks-site/)
 * If I clear both caches in Troubleshooting section I get 404’s on my css and js
   files.
    It seems that the html served is out of date referencing older css & 
   js files. Is there certain file permissions on cache folders that need to exist?
   I enabled logging and noticed a temp write test failure but it was to “wp-content”
   folder. Despite having js minify enabled my js is not minified – I have JSMin
   selected.
 * Any ideas?

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

 *  Plugin Author [Denis Ryabov](https://wordpress.org/support/users/dryabov/)
 * (@dryabov)
 * [8 years ago](https://wordpress.org/support/topic/clearing-cache-pagecache-breaks-site/#post-10439609)
 * 1. Do you have a 3rdparty caching plugin?
    2. To be sure, try to refresh page
   in browser (Ctrl+F5).
 *  Thread Starter [thinkingcapstudios](https://wordpress.org/support/users/thinkingcapstudios/)
 * (@thinkingcapstudios)
 * [8 years ago](https://wordpress.org/support/topic/clearing-cache-pagecache-breaks-site/#post-10439621)
 * This particular site uses Divi but I have turned off all its minifying & static
   file generation.
 *  Plugin Author [Denis Ryabov](https://wordpress.org/support/users/dryabov/)
 * (@dryabov)
 * [8 years ago](https://wordpress.org/support/topic/clearing-cache-pagecache-breaks-site/#post-10442689)
 * It may be that you cleared “Page Cache” prior to clearing “Cache” (or clearing“
   Cache” only, without clearing of “Page Cache” at all). This issue will be fixed
   in 0.9.29, but currently it is recommended to clear “Page Cache” after clearing“
   Cache”.

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

The topic ‘Clearing cache & pagecache breaks site’ is closed to new replies.

 * ![](https://ps.w.org/psn-pagespeed-ninja/assets/icon.svg?rev=1722219)
 * [PageSpeed Ninja - Cache, Minify, Defer CSS JavaScript, Critical CSS, Optimize Images, Convert WebP](https://wordpress.org/plugins/psn-pagespeed-ninja/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/psn-pagespeed-ninja/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/psn-pagespeed-ninja/)
 * [Active Topics](https://wordpress.org/support/plugin/psn-pagespeed-ninja/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/psn-pagespeed-ninja/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/psn-pagespeed-ninja/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Denis Ryabov](https://wordpress.org/support/users/dryabov/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/clearing-cache-pagecache-breaks-site/#post-10442689)
 * Status: not resolved