How to cache django views only for unauthenticated

2020-05-08 08:41发布

问题:

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?