mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
Better caching for the blog
This commit is contained in:
parent
6b97a53344
commit
9c688d469f
1 changed files with 4 additions and 0 deletions
|
|
@ -13,6 +13,10 @@
|
|||
extraConfig = ''
|
||||
encode zstd gzip
|
||||
header -Last-Modified
|
||||
|
||||
header /blog/css/* Cache-Control "max-age=31540000, immutable"
|
||||
header /blog/fonts/* Cache-Control "max-age=31540000, immutable"
|
||||
|
||||
file_server {
|
||||
fs garage
|
||||
# TODO: run precompress script
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue