Test new cache config
This commit is contained in:
@@ -34,6 +34,11 @@ portfolio.lucasroyer.fr {
|
|||||||
ttl 24h
|
ttl 24h
|
||||||
stale 12h
|
stale 12h
|
||||||
}
|
}
|
||||||
|
header {
|
||||||
|
# s-maxage=86400 : proxy keep html in RAM for 24h
|
||||||
|
# max-age=0 : client browser check every time with etag
|
||||||
|
# must-revalidate : ask server if it is steel up to date
|
||||||
|
Cache-Control "public, s-maxage=86400, max-age=0, must-revalidate"
|
||||||
|
|
||||||
# Security
|
# Security
|
||||||
header {
|
header {
|
||||||
|
|||||||
Reference in New Issue
Block a user