[Answered ]-Using cache in django

2👍

✅

  1. The whole page will be cached.
  2. Cache uses whole url as the key. So url?q=aaa' and 'url?q=bbb will be cached as different pages.
  3. Only GET and HEAD requests are cached. So your POST request will work as usual.

As for caching of querysets… Read this answer

Leave a comment