nkitku
(Ankit Kumar)
1
hi, is there any way for if-else like condition or better alternate way to write this below condition
@cache not path /index.html /version.json
@not-cache path /index.html /version.json
header @cache Cache-Control "public, max-age=31536000, immutable"
header @not-cache Cache-Control "no-cache"
thanks
matt
(Matt Holt)
2
You can use handle
blocks, which are mutually exclusive (only the first matching handle will be evaluated).
Otherwise that works too!
system
(system)
Closed
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.