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:
parent
20ccfdff8f
commit
8d3270e4ad
@ -58,6 +58,7 @@ server {
|
||||
|
||||
location /assets {
|
||||
try_files $uri =404;
|
||||
add_header Cache-Control "max-age=31536000";
|
||||
}
|
||||
|
||||
location ~ ^/protected/(.*) {
|
||||
|
Loading…
Reference in New Issue
Block a user