How to cache django views only for unauthenticated users?
I'd like to cache certain views/pages for unauthenticated users but django cache_page does not seem to have such option. So wonderin how best can I achieve this? 来源: https://stackoverflow.com/questions/34154730/how-to-cache-django-views-only-for-unauthenticated-users