Caching Policy
Respond to matched incoming requests with cached content
Configuration
{
"name": "my-caching-inbound-policy",
"policyType": "caching-inbound",
"handler": {
"export": "CachingInboundPolicy",
"module": "$import(@zuplo/runtime)",
"options": {
"expirationSecondsTtl": 60,
"dangerouslyIgnoreAuthorizationHeader": false,
"headers": [
"header_used_as_part_of_cache_key"
]
}
}
}
Read more about how policies work