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.
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