I’m still having this issue as well, with category pages. I have my settings set to cache timeout 3600, and GC Scheduler set to Timer 3600, and pages that are days old are being served.
As a test, I turned on debugging and set cache timeout to 30, and GC Scheduler set to Timer 60.
I look at the debug log and can see that the category page is being regenerated now, and the timeout stamp at the bottom of the generated page is new.
If I change the settings back to 3600/3600, my pages are no longer regenerated, and days old pages are served (my experience for the last several weeks)
How do I debug this?
What should I be looking for in the log?
I believe, with my regular settings of 3600/3600, every 3600 seconds, the GC should run, and mark any page that is over 3600 seconds old as expired?
I’m just guessing as I don’t know how the GC is implemented.
Is the GC responsible 1 thing, or 2 things?
1)Marking files as expired
2)Deleting expired files
I’m willing to put some extra debug statements in to find the issue, I just need to be pointed in the right direction.
The following functions look promising:
function prune_super_cache
function wp_cache_rebuild_or_delete
function wp_cache_phase2_clean_expired
Thanks,
Rich