reverse_proxy,endpoint,uploaded_media: add immutable cache-control flag
This commit is contained in:
parent
222306ff27
commit
848b3f5d5b
4 changed files with 4 additions and 4 deletions
|
|
@ -294,7 +294,7 @@ defmodule Pleroma.ReverseProxyTest do
|
|||
|> expect(:stream_body, fn _ -> :done end)
|
||||
|
||||
conn = ReverseProxy.call(conn, "/cache")
|
||||
assert {"cache-control", "public, max-age=1209600"} in conn.resp_headers
|
||||
assert {"cache-control", "public, max-age=1209600, immutable"} in conn.resp_headers
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue