jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

[Super Cache] refresh pages rather than delete when doing garbage collection

Open donnchawp opened this issue 1 year ago • 0 comments

As suggested here, it may be worth it refreshing cache files rather than deleting them when doing garbage collection.

Garbage collection happens on stale pages, but those pages are ones that were visited, so there is a good chance they will be visited again in the future.

The plugin can only refresh pages generated by anonymous visitors, so that excludes any logged in visitors or visitors with a cookie set.

It might even be a better than preloading, as specific pages could be scheduled to be refreshed or preloaded, instead of refreshing all pages.

See also: #36149

donnchawp avatar Mar 05 '24 12:03 donnchawp