ietf-tools / www

A customized CMS for the IETF website
BSD 3-Clause "New" or "Revised" License
22 stars 45 forks source link

Cloudflare cache page invalidation #361

Closed mgax closed 6 months ago

mgax commented 7 months ago

Cloudflare cache invalidation doesn't account for children of index pages, or snippets being used in pages. If the cache max-age is low, this might not be a problem though, but it seems to be set to 4 hours:

% curl -sI https://www.ietf.org/ | grep -i Cache-Control
cache-control: public, max-age=14400

Copied from https://github.com/ietf-tools/wagtail_website/issues/279#issuecomment-1851838713.