Closed tobinmori closed 4 years ago
How is this different to https://github.com/mdn/kuma/issues/6721 ?
How is this different to #6721 ?
This is the Sprint task that addresses #6721.
This is done. The */payments/*
pass-through behavior has been added to the stage and prod primary CDN's (and is currently active), and a PR submitted to update the Terraform to reflect the changes (see https://github.com/mdn/infra/pull/387).
Summary
We need to create a new pass-through CDN behavior for the family of endpoints under
https://developer.mozilla.org/<locale>/payments/*
, at least temporarily, since some of the endpoints use the@waffle_flag("subscription")
decorator, which depends on thesessionid
(to get the user) anddwf_subscription
cookies. The current default CDN behavior that handles these endpoints strips all incoming cookies from the request (except for thedjango_language
cookie) for caching purposes, but a pass-through behavior will pass-through all incoming cookies and block all caching by the CDN. For additional context see https://github.com/mdn/kuma/issues/6721.Acceptance Criteria
*/payments/*
for the primary stage CDN*/payments/*
for the primary production CDN