bunkerweb/confs2/site/client-cache.conf
2021-05-24 17:39:38 +02:00

7 lines
172 B
Plaintext

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