Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to force serve from Database [Cache-Control: no-cache not working] #191

Open
ZuSe opened this issue Jul 6, 2017 · 0 comments
Open

Comments

@ZuSe
Copy link

ZuSe commented Jul 6, 2017

Hi guys,

we are using drf-extensions in our project. We are using for some of our Viewsets the ReponseCacheandETAGMixin.

In some special cases we need to allow the client to fetch the newest entry from the database instead of getting the requests served from the cache.

Is there any way to achieve this in a nice way? I have tried to use the Cache-Control header in my requests, but it's ignored and the response is still served from the cache.

Best,
Patrick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant