Title: [Plugin: WP Super Cache] How does cache rebuild exactly work?
Last modified: August 20, 2016

---

# [Plugin: WP Super Cache] How does cache rebuild exactly work?

 *  [onions](https://wordpress.org/support/users/onions/)
 * (@onions)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-how-does-cache-rebuild-exactly-work/)
 * I’m curious how cache rebuild actually works. The text says:
 * > Cache rebuild. Serve a supercache file to anonymous users while a new file 
   > is being generated. (Recommended)
 * So my understanding is that if a user visits a page, they will be served a cached
   copy of the page. And in the background, the plugin is creating a new copy of
   the page. Correct? Then if I’m logged out, and refresh the page in intervals 
   of 10 seconds, shouldn’t the time stamp of the cached page also update with each
   refresh? Right now the timestamp stays static. This is what supercache is saying
   about the page:
 * >  <!– Dynamic page generated in 0.522 seconds. –>
   >  <!– Cached page generated
   > by WP-Super-Cache on 2011-10-15 00:38:21 –> <!– Compression = gzip –>
 * That 00:38:21 remains constant and doesn’t seem to ever update. It’s not just
   an issue with the timestamp; I’m using it as a record of what page the plugin
   is serving me. I have some additional scripts in the wordpress template theme
   page to bring in content from another section of the site. However, if I update
   the content, and then view the page as an anonymous user, I don’t ever see the
   new content.
 * Please let me know, this is driving me crazy.
 * [http://wordpress.org/extend/plugins/wp-super-cache/](http://wordpress.org/extend/plugins/wp-super-cache/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-how-does-cache-rebuild-exactly-work/#post-2349047)
 * No, it’s the thundering herd problem. If a page gets 10,000 hits every second
   and someone leaves a comment normally the cached page is deleted and suddenly
   those 10,000 visitors are all generating a new page (presuming it takes over 
   1 second to generate a page) causing a huge strain on your server.
 * With this option turned on the system serves the slightly out of date cached 
   page (with the missing comment in this example) to any visitors while the new
   cached page is being regenerated. When the new page is generated it replaces 
   the old one in one single atomic step.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP Super Cache] How does cache rebuild exactly work?’ is closed
to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-how-does-cache-rebuild-exactly-work/#post-2349047)
 * Status: not resolved