Title: Mega cache problem
Last modified: March 15, 2017

---

# Mega cache problem

 *  Resolved [espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * (@espacemusculation)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/)
 * Hello all, Hello Franck
 * I have a question about cache,
 * Does the cache grow without limit ?
 * ![](https://i0.wp.com/img4.hostingpics.net/pics/592779Sanstitre3.jpg)
 * Can we limit the number of file ? 1 per page ?
 * I do not understand why there is so much file? I have just 300 pages.
 * Thanks you for your help

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/mega-cache-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/mega-cache-problem/page/2/?output_format=md)

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/#post-8918571)
 * as per my reply [on your other support post](https://wordpress.org/support/topic/one-file/),
   this is due to inline CSS (in your case) busting your cache. you’ll have to look
   into that, either by not aggregating inline CSS or by keeping it aggregated but
   excluding the cache-busting styles.
 *  Thread Starter [espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * (@espacemusculation)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/#post-8918745)
 * thanks you 🙂
 * Is file production endless?
 * in other words
 * If I do not empty the cache regularly, will tomorrow I have 10,000 files and 
   next week 100,000 files? Or it will stop ?
 * In the other post, I wanted to know if it was possible to have 1 file css for
   all website pages.
    -  This reply was modified 9 years, 7 months ago by [espacemusculation](https://wordpress.org/support/users/espacemusculation/).
    -  This reply was modified 9 years, 7 months ago by [espacemusculation](https://wordpress.org/support/users/espacemusculation/).
    -  This reply was modified 9 years, 7 months ago by [espacemusculation](https://wordpress.org/support/users/espacemusculation/).
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/#post-8918901)
 * it will never stop until you filesystem is full I’m afraid. hence the flashing
   red light on your dashboard as soon as you reach half a gigabyte 🙂
 *  Thread Starter [espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * (@espacemusculation)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/#post-8918907)
 * What I do not understand is why it continues to produce files. Only one file 
   per page should suffice?
 * For my previous post, I was talking about a single file for all the site.
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/#post-8918955)
 * > What I do not understand is why it continues to produce files.
 * well, if you have inline CSS that changes continuously and if you are aggregating
   inline said inline CSS, then a new file will be created every time. so main the
   question is; why do you have inline CSS that changes that regularly?
 *  Thread Starter [espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * (@espacemusculation)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/#post-8918977)
 * This is a good question, my inline CSS doesn’t change.
 * I do not see how and why it would change 🙁
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/#post-8919017)
 * well, i’ve seen plugins that inject HTML with id’s with random values and inline
   CSS that has selectors that target those random id’s. random id’s would be a 
   good example of changing CSS.
 * if you can provide your URL I can have a quick look? 🙂
 *  Thread Starter [espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * (@espacemusculation)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/#post-8919046)
 * My URL is [https://www.espace-musculation.com/](https://www.espace-musculation.com/)
 * here my plugin :
 * Ad Inserter
    AMP Easy Social Share Buttons for WordPress 4.1 Force Regenerate
   Thumbnails Q2W3 Fixed Widget Simple Footnotes Table of Contents Plus TinyMCE 
   Advanced Yoast SEO WP Mobile Detect WP Sitemap Page WP Rocket
 * Thanks you
 *  Thread Starter [espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * (@espacemusculation)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/#post-8919083)
 * The source code comes from the wp-rocket cache plugin
 * So there is no change of id or class
 * Unless the plugin continues in background to refer to something that changes 
   but that does not change with the creation of the cache.
 *  Thread Starter [espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * (@espacemusculation)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/#post-8919106)
 * It is quite bizzare, but there is more file created since a few minutes.
 * I wonder if when I click on preload the cache in wp-rocket this does not induce
   the creation of file to infinity.
 * Because usually I purge the cache and I systematically request a preload but 
   not this time to try and I feel that it is better.
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/#post-8919126)
 * the HTML source is cached by WP Rocket, but:
    * it is different for each page*
   cached HTML has a lifetime after which it will be purged and regerated
 * meaning that there’s enough occasions at which the HTML/ inline CSS can change.
 * looking at your HTML source I see a lot of selectors like
    `#execphp-xx`
 * where xx is a number. this _could_ be your culprit; there’s PHP-code injecting
   HTML-nodes with non-fixed ID’s and hence CSS targeting those non-fixed ID’s.
 * that exexphp HTML/ CSS is probably generated by this plugin; [https://wordpress.org/plugins/php-code-widget/](https://wordpress.org/plugins/php-code-widget/)
 * frank
 *  Thread Starter [espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * (@espacemusculation)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/#post-8919149)
 * #execphp-xx is ok I know these id, they are fixed.
 * Very bizarre, since all by the hour the file counter does not move anymore !!
   🙂
 * Maybe my problem came from the preload system? (That I did not activate this 
   time)
    -  This reply was modified 9 years, 7 months ago by [espacemusculation](https://wordpress.org/support/users/espacemusculation/).
 *  Thread Starter [espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * (@espacemusculation)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/#post-8919165)
 * I just activated preloading to test….
 *  Thread Starter [espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * (@espacemusculation)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/#post-8919220)
 * I do not understand, the file number has not changed since then.
 * Thank you for your help in any case, I keep you informed tomorrow (here it is
   11h pm) if the number of file exploded
    -  This reply was modified 9 years, 7 months ago by [espacemusculation](https://wordpress.org/support/users/espacemusculation/).
 *  Thread Starter [espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * (@espacemusculation)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/#post-8919282)
 * Ok just before going to bed I checked and the number of files exploded.
 * I test again without preload this time I will see tomorrow waking up

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/mega-cache-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/mega-cache-problem/page/2/?output_format=md)

 The topic ‘Mega cache problem’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 25 replies
 * 2 participants
 * Last reply from: [espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/mega-cache-problem/page/2/#post-8929221)
 * Status: resolved