Merge pull request #117 from YunoHost/short-handlebars-ms-cache

[enh] Short cache on handlebars templates
This commit is contained in:
Jérôme Lebleu 2015-11-24 11:28:09 +01:00
commit 7df29edf73

View file

@ -2,4 +2,10 @@ location /yunohost/admin {
alias /usr/share/yunohost/admin/;
default_type text/html;
index index.html;
# Short cache on handlebars templates
location ~* \.(?:ms)$ {
expires 5m;
add_header Cache-Control "public";
}
}