Comment

Diederik van der Boor

I also found at that with fully cached pages, make sure the following is set as well:

CACHE_MIDDLEWARE_ANONYMOUS_ONLY = False

Otherwise, Django accesses request.session and the user table, resulting in a DB query for every request. With this setting to False, Django can run purely from cache,