Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Website: Avoid edge-caching conditionally redirected resources (#1351)
## What is this PR doing? This PR disables edge caching for conditionally redirected resources. ## What problem is it solving? The WP Cloud edge cache seems to avoid caching some redirects. But for conditionally redirected resources like `/wordpress.html`, the edge cache can cache the resource when not redirected, and after that, PHP is no longer given a chance to conditionally redirect. ## How is the problem addressed? If a resource has conditional redirects, we now explicitly disable caching for that resource. ## Testing Instructions - Tested manually on playground-dot-wordpress-dot-net.atomicsites.blog Related to #1197
- Loading branch information