1
0

Properly cache html files

This commit is contained in:
kolaente
2020-12-16 12:28:54 +01:00
parent f04ee6f130
commit 4fc73626b7

View File

@ -39,7 +39,7 @@ http {
# Expires map
map $sent_http_content_type $expires {
default off;
text/html epoch; # We don't cache the html for the browser to get the content
text/html max;
text/css max;
application/javascript max;
~image/ max;