Commit Graph

14 Commits

Author SHA1 Message Date
Léo Colombaro 3279a4403c Reorder and improve `expires` map 2022-12-04 23:37:37 +01:00
Léo Colombaro 9c15882b21
Fix comment indentation 2022-11-03 01:30:40 +00:00
Allan Tatter b83e71bb7e Replace expires -1 with epoch 2022-11-01 15:59:51 +01:00
Allan Tatter 771aa10f19 change cache-control to no-cache from max-age=0 for content-types that should not be cached by default 2022-11-01 15:59:51 +01:00
Allan Tatter a138f35aca Remove max-age from mime-types that should not be cached 2022-11-01 15:59:51 +01:00
Léo Colombaro 3869706922 Use one year as default cache TTL 2021-11-14 22:52:52 +01:00
Jamie Burchell 4a229657fd Extend media and font cache TTL to 1 year 2021-11-14 22:52:52 +01:00
Léo Colombaro abcf858614 Assorted grammar and link fixes 2020-04-14 11:54:27 +02:00
Pete Cooper 67c54c53f1
Documentation formatting and reviewing (#232)
No code changes, some config reordering
2019-05-15 23:20:10 +02:00
Léo Colombaro c73d1efb60
Fix 304 responses Cache-control override
Fix #230
2019-05-15 21:07:50 +02:00
Léo Colombaro 3b0c4c41df
Fix regexp expressions in mime-types maps 2019-03-09 13:45:33 +01:00
Léo Colombaro 06e5fc8445
Remove extra match-any regexp 2019-03-09 02:41:29 +01:00
Mark Woon d65cd97761 Use regexp in MIME-types based maps (#221)
Fix #220

Co-authored-by: Léo Colombaro <git@colombaro.fr>
2019-03-09 02:34:15 +01:00
Léo Colombaro 6dd4cc27ed Switch from location directives to maps based on MIME-types
* Expire
* X-XSS-Protection
* X-Frame-Options
* X-UA-Compatible
* Content-Security-Policy
* Access-Control-Allow-Origin
2019-02-10 21:56:10 +01:00