Files
nginx-snippets/cache-js-css.conf
2025-11-02 11:49:39 +01:00

5 lines
100 B
Plaintext

location ~* ^.+\.(css|js)$ {
expires 1y;
add_header Cache-Control "max-age=31600000, public";
}