Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Views Caching Change #220

Open
rich-hart opened this issue Mar 28, 2015 · 0 comments
Open

Views Caching Change #220

rich-hart opened this issue Mar 28, 2015 · 0 comments

Comments

@rich-hart
Copy link
Contributor

The constants used to define caching in views.py use public and no-caching headers for any request method which is authenticated to keep user data private and to prevent issues such as #206 / openstax/webview#955 . Could we still keep user data private and take advantage of caching for authenticated views methods by changing NO_CACHE to NO_CACHE = (None, {'public': FALSE}) or TIMED_CACHE= (datetime.timedelta(...), {'public': False})?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant