Files
posthog.com/static/_headers
Paul D'Ambra d3bef36d3b specify cache headers for the static directory (#2960)
* specify cache headers for the static directory

* not every static asset gets a unique URL per build/content so reducing cache to 2 minutes

* don't put cache on least restrictive glob
2022-02-15 09:02:37 -08:00

18 lines
291 B
Plaintext

/*
X-Frame-Options: SAMEORIGIN
/brand/*
Cache-Control: public
Cache-Control: max-age=120
/images/*
Cache-Control: public
Cache-Control: max-age=120
/wp-content/*
Cache-Control: public
Cache-Control: max-age=120
/static/*
Cache-Control: public
Cache-Control: max-age=120