Open johnidm opened 7 years ago
To complement the cache you can use ETag
header.
https://chibisov.github.io/drf-extensions/docs/#http-etag http://stackoverflow.com/questions/9009633/using-etag-for-optimistic-locking-in-a-django-rest-application https://www.willmcgugan.com/blog/tech/post/etag-magic-with-django/ http://stackoverflow.com/questions/34460089/can-somebody-explain-me-what-is-the-use-of-etag-in-django http://www.apiacademy.co/how-to-http-caching-for-restful-hypermedia-apis/
Keyword to find - ETag in RESTFull API
Django has a middleware called that support ETags
Change the cache strategy to
django.core.cache.cache