bunkerweb/confs2/site/client-cache.conf
2021-05-21 14:55:54 +02:00

7 lines
160 B
Plaintext

etag %CLIENT_CACHE_ETAG%;
set $cache "";
if ($uri ~* \.(%CLIENT_CACHE_EXTENSIONS%)$) {
set $cache "%CLIENT_CACHE_CONTROL%";
}
add_header Cache-Control $cache;