[Django]-Cache for everybody except staff members

0👍

I actually didn’t tell you the entire truth.. The only logged in people are staff members. Everybody else is anonymous.

Digging through the cache middleware source (what @cache_page uses) I found the CACHE_MIDDLEWARE_ANONYMOUS_ONLY setting!

I believe this should fix things for me.

👤Oli

Leave a comment