2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-14 17:24:04 +00:00

perf: add Cache-Control header for assets

closes https://github.com/frappe/bench/issues/1154
This commit is contained in:
Ankush Menat 2024-01-17 20:38:47 +05:30
parent 20ccfdff8f
commit 8d3270e4ad

View File

@ -58,6 +58,7 @@ server {
location /assets {
try_files $uri =404;
add_header Cache-Control "max-age=31536000";
}
location ~ ^/protected/(.*) {