-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Cache Preloading not always kicking in after cache purge from publishing event #687
Comments
I'd appreciate to get a response to this! If you don't have the time to read the original report, let's make it short:
Besides all the debugging I still recommend to give the recreation of a purged page utmost priority (temporarily queue in the updates page(s) in another "urgent preload loop", or temporarily change the main loop offset to there, and then back to the last offset number), however you may do that technically, as I proposed in: |
After updating
This should work more intelligently. Regenerate what was recently purged. I mean that priority is really obvious. Please. |
So my report has been confirmed as reproducible? And the symptoms could be fixed? |
@porg This issue has been attached to a pull request that was merged and is staged to be released in W3 Total Cache 2.7.2. We have added a couple of settings that can be enabled to prime the cache for pushed and updated posts/pages. |
I debugged W3TC 's Cache Preload feature intensively over the weekend & came to these findings:
/wp-content/cach/page_enhanced/domain-directory/
.Regenerating edited page immediately with top priority would benefit UX for the first requestor of the updated page #686
My suspicion
My Website Usability and Performance Goals
My Environment + My Goals in full there and summarized here:
Debugging Setup
15
secs5
https://mydomain.com/mini-sitemap.xml
/mini-sitemap.xml
manually created for debugging, containing only 30 URLs in total:/
: 5 top level menu entires (/blog/
omitted)/skills/
and/work/
/skills/profile/
and/skills/analysis/
Preloading Loop Duration: 30 URLs in batches of 5 = 6 batches total * 15secs per batch = 90secs = 1.5 mins
Video Recording
Window setup used throughout the video:
Nicely documented
I put a lot of effort into presenting this as compact and comprehensible as possible in a video screen recording.
Alternative: Each chapters as standalone video file
01 Windows and Setup Explained
04.Deleting.entire.domain.page.cache.then.observing.one.full.Cache.Preload.cycle.mov
02 Edited then Purged but Preloading never
01.Windows.and.Setup.Explained.mov
03 Cached pages outside of sitemap overnight
05.Edited.then.Purged.then.Preloading.worked.mov
04 Deleting entire domain page cache then observing one full Cache Preload cycle
02.Edited.then.Purged.but.Preloading.never.mov
05 Edited then Purged then Preloading worked
03.Cached.pages.outside.of.sitemap.overnight.mov
06 Observing Preloading in Command Line with wp-cli
W3TC--06-Observing-Preloading-in-Command-Line-with-wp-cli.mp4
The text was updated successfully, but these errors were encountered: