Skip to content

Commit

Permalink
Merge pull request #17 from fingerprintjs/fix/browser_cache_endpoint_…
Browse files Browse the repository at this point in the history
…caching-INTER-350

fix cache-control response header honoring for browser cache endpoint and `immutable` honoring for Pro CDN
  • Loading branch information
necipallef committed Nov 6, 2023
2 parents 1b13d38 + 0feacfd commit a12d93e
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion assets/rulesTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,12 @@
"honorProxyRevalidate": true
}
},
{
"name": "downstreamCache",
"options": {
"behavior": "TUNNEL_ORIGIN"
}
},
{
"name": "allowTransferEncoding",
"options": {
Expand Down Expand Up @@ -415,6 +421,32 @@
"matchRegex": "\\/__integration_path__\\/__result_path__(.*)",
"targetRegex": "$1"
}
},
{
"name": "caching",
"options": {
"behavior": "CACHE_CONTROL_AND_EXPIRES",
"mustRevalidate": false,
"defaultTtl": "0s",
"cacheControlDirectives": "",
"enhancedRfcSupport": true,
"honorPrivate": true,
"honorMustRevalidate": true,
"cacheabilitySettings": "",
"honorNoStore": true,
"honorNoCache": true,
"expirationSettings": "",
"honorMaxAge": true,
"honorSMaxage": true,
"revalidationSettings": "",
"honorProxyRevalidate": true
}
},
{
"name": "downstreamCache",
"options": {
"behavior": "TUNNEL_ORIGIN"
}
}
],
"criteria": [
Expand Down Expand Up @@ -557,4 +589,4 @@
],
"criteriaMustSatisfy": "all",
"comments": ""
}
}

0 comments on commit a12d93e

Please sign in to comment.