bunkerweb/core/clientcache/confs/server-http/client-cache.conf

8 lines
227 B
Text
Raw Normal View History

2022-06-03 15:24:14 +00:00
{% if USE_CLIENT_CACHE == "yes" +%}
add_header Cache-Control $cache_control;
{% if CLIENT_CACHE_ETAG == "yes" and SERVE_FILES == "yes" and USE_REVERSE_PROXY == "no" +%}
etag on;
{% else +%}
etag off;
{% endif +%}
{% endif %}