We should keep the expires header too. If cache-control is also served, expires is ignored.
This commit is contained in:
parent
7e2ee0a3de
commit
8fd0a06241
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ defmodule Pleroma.ReverseProxy do
|
|||
@resp_cache_headers ~w(etag date last-modified)
|
||||
@keep_resp_headers @resp_cache_headers ++
|
||||
~w(content-length content-type content-disposition content-encoding) ++
|
||||
~w(content-range accept-ranges vary)
|
||||
~w(content-range accept-ranges vary expires)
|
||||
@default_cache_control_header "public, max-age=1209600"
|
||||
@valid_resp_codes [200, 206, 304]
|
||||
@max_read_duration :timer.seconds(30)
|
||||
|
|
Loading…
Reference in a new issue