# Cloudflare Pages cache headers (only applies to the Cloudflare deployment, # see .gitea/workflows/build-and-publish.yaml for the S3/CloudFront exclude) # Docusaurus content-hashed build output (webpack chunks, css, etc). The # filename changes whenever the content changes, so it is safe to cache # these for a long time and mark them immutable. /assets/* Cache-Control: public, max-age=31536000, immutable # Files under static/img and static/images keep stable filenames and can be # replaced in place (same name, new content), so use a short, conservative # max-age instead of immutable caching. /img/* Cache-Control: public, max-age=86400 /images/* Cache-Control: public, max-age=86400