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
This is still marked experimental on MDN, I'm not sure I want to add that yet. Werkzeug already provides the tools to include whatever experimental options you want:
# cache_control is also a dict# None means set for bool optionsresponse.cache_control["immutable"] =None# or add the propertyfromwerkzeug.datastructuresimportResponseCacheControl, cache_propertyResponseCacheControl.immutable=cache_property("immutable", None, bool)
response.cache_control.immutable=True
I'm thinking specifically about https://bitsup.blogspot.fr/2016/05/cache-control-immutable.html.
Maybe add a dict str -> (str or None) which maps the extension name to the optional payload?
The text was updated successfully, but these errors were encountered: