Your setting to `add_view` is currently being dropped. It's not valid
to pass arbitrary things to `add_view`. A good way would be to mutate
the response via a decorator, adding the header in yourself. No need
for a tween.
def x_accel_expires(max_age):
def decorator(view):
def
Hello
I want use cache nginx and cache browser.
For managing cache nginx i use X-Accel-Expires.
For managing cache browser i use Cache-Control.
Cache-Control is simple, need set parameters http_cache in add_view and
cache_max_age in add_static_view.
But how set X-Accel-Expires in same