APO doesn't purge categories from page 2+

My categories from page 2+ keep serving posts much older than they should to non-login users. How can i fix this ?.

I saw the same problem from 2 years ago but its not fixed apparently:

Hi,

I was able to confirm this cache behavior in my test APO website. Do you have a ticket number? While we wait for the APO Team to look into the issue, you could create a Cache Rule (beta) to properly cache the paginated archives pages (category, tags etc.)

(http.request.uri.path contains "/page/" and not starts_with(http.request.uri.path, "/page/"))

You then can either set the rule to bypass cache altogether, or set Edge Cache to your desired value to make it cache those archives for a certain amount of time. (You may need to manually purge the affected pages.) APO will return the cf-apo-via with a value that implies it’s not caching, but the pages will be cached by Clouflare nevertheless.

1 Like

Thanks you ! this fixed it.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.