1
0
angie-conv-image/angie/conf.dist/fastcgi/cache-bypass.conf.j2

15 lines
380 B
Plaintext
Raw Normal View History

2024-07-31 14:04:15 +03:00
{#- TODO: precise quotation -#}
{%- set cache_bypass = j2cfg.fastcgi_cache_bypass or j2cfg.cache_bypass or [] -%}
{%- if cache_bypass -%}
## disable (response) cache under following conditions
fastcgi_cache_bypass
{%- for v in cache_bypass %}
{{ v.__repr__() }}
{%- endfor %}
;
fastcgi_no_cache
{%- for v in cache_bypass %}
{{ v.__repr__() }}
{%- endfor %}
;
{%- endif -%}