mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 00:37:51 +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 {
|
location /assets {
|
||||||
try_files $uri =404;
|
try_files $uri =404;
|
||||||
|
add_header Cache-Control "max-age=31536000";
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/protected/(.*) {
|
location ~ ^/protected/(.*) {
|
||||||
|
Loading…
Reference in New Issue
Block a user