Some customers have expected experience protection to work in non-live environments and have attempted to test it by setting the environments to maintenance mode.
Actual behavior
The platform sets a no-cache and revalidate cache-control headers on static assets in non-live environments. This prevents static assets from being cached, so experience protection does not work as expected (pages will not render properly).
Suggested Resolution
Add a note to the experience protection documentation clarifying that static assets are not cached in non-live environments. Experience protection can only return cacheable data and is only intended to protect live environments.
Dev and Multidev environments always set an HTTP header to cache-control: no-cache, must-revalidate so that changes to CSS and other assets are always reloaded as developers update them.
source/content/guides/global-cdn/02-experience-protection.md https://docs.pantheon.io/guides/global-cdn/experience-protection
Expected behavior
Actual behavior
Suggested Resolution
Additional information