-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prior to swapping to PUT requests for updating page rules, we used to perform manual diff checks that would determine which actions we would add to the page rule before sending it. This is no longer now as we swapped to using a PUT request which replaces the whole rule and we are able to send the whole page rule as-is without doing the work ourselves. This popped up as it's caused a bug whereby updating a page rule that includes a `edge_cache_ttl` (but not change it) results in the `edge_cache_ttl` being dropped completely. `TestAccCloudflarePageRuleEdgeCacheTTLNotClobbered` is the regression test case that demonstrates the behaviour.
- Loading branch information
1 parent
d1b586b
commit 79c359a
Showing
2 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters