You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm accessing a REST API that returns different data structures based on the Accept header. Cachecontrol seems to be properly handling the Vary: Accept, Accept-Encoding that the server sends back when making requests, that's good. What becomes an issue is when one of the content type variants send back Cache-Control: no-store, Cachecontrol just blows away the other cached record without regard to the secondary key provided by Vary.
I'm accessing a REST API that returns different data structures based on the
Accept
header. Cachecontrol seems to be properly handling theVary: Accept, Accept-Encoding
that the server sends back when making requests, that's good. What becomes an issue is when one of the content type variants send backCache-Control: no-store
, Cachecontrol just blows away the other cached record without regard to the secondary key provided byVary
.https://github.com/ionrock/cachecontrol/blob/db54c4033cbf49489a1cf54586d2f6ae6c66813f/cachecontrol/controller.py#L287-L289
The text was updated successfully, but these errors were encountered: