Not disabling current page cache while new page cache being generated?
-
We manage a store with a page that has 650 items on it. When this page is cached it loads very fast. When not cached it can take 30 seconds or longer to render.
In experiments where we forcibly expired the page cache (updating the file mod date and editing the “time” value in the cache file), we notice that when we hit the page and the cache is being regenerated:
– The cache file’s mod date is immediately updated.
– The cache file’s size remains the same – so presumably all the “old” cache data is still there.
– While it’s generating, hitting the page with another browser gives us the message “waiting for cache” in the browser status bar.
– Once the caching is completed, the mod date of the file is updated again.Our assumption is that during regeneration the existing cache file is retained but rendered unusable until regeneration is complete.
Is there a way around this? Is there a way that a page can continue using the “old” cache while the new cache is being generated?
As it is we’re getting some grief from the client because customers are dealing with this 30 second wait at times. We are considering building our own solution but if there’s a way to control how W3TC does this we can continue using it, which is our preference.
Thanks if anyone has any ideas.
The topic ‘Not disabling current page cache while new page cache being generated?’ is closed to new replies.