-
When incoming requests match: Custom filter expression
- Using the Expression Builder:
Hostname is in list "my_hostnames" - Using the Expression Editor:
(http.host in $my_hostnames)
- Using the Expression Builder:
-
Then:
- Cache eligibility: Eligible for cache
← Cache / cache / how-to / cache-rules / examples
Cache everything for hostnames in a list
Create a cache rule to cache everything for hostnames that match a custom hostname list: