I have slow queries in my Django restframework
project.
Many nested serializers are causing slow HTTP requests (2-5 seconds)
So I thought about using a cache that Django can provide with Memcache server
.
But I'm afraid I don`t really understand its behavior. What happens if the client request the same query non-stop every 1 second, and suddenly one of the objects changed? Will the user get the cached results or will Django return the cached results with the specific change?