You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.
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})?
The text was updated successfully, but these errors were encountered:
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
toNO_CACHE = (None, {'public': FALSE})
orTIMED_CACHE= (datetime.timedelta(...), {'public': False})
?The text was updated successfully, but these errors were encountered: