Skip to content
ferkesh.HOSTING

Test CDN Cache Behavior When a Response Sets a Cookie

Cookie and cache behavior depends on origin headers, CDN rules and the route. Cache status alone cannot establish whether personalized responses are isolated. Test the intended behavior on staging.

Origin headers: Check cookie presence; CDN rule: Shared or bypassed; Session proof: Check isolation.

List expected route policies

Choose a static public asset, anonymous HTML and an owned staging account page using synthetic records. Record what can be shared and what should bypass shared caching. Inspect Cache-Control and Set-Cookie presence without copying cookie values.

Compare ordinary sessions

Use clean browsers for two authorized fixtures and an anonymous visitor. Open approved routes without issuing writes. Verify each account sees its own marker and that the anonymous visitor cannot read protected content. Stop and report any unexpected shared response.

Make a narrowly scoped release

Review the provider's cookie handling and affected rules. Avoid caching all HTML simply to increase a hit rate. After a permitted correction, repeat the same tests and retain the previous safe settings for rollback.

Official references

Last reviewed .

Foi útil?

Obrigado pela sua opinião!

Ainda precisa de ajuda?

A equipa de apoio está disponível a qualquer hora para ajudar com o que não encontrar na base de conhecimento.