reverse_proxy,endpoint,uploaded_media: add immutable cache-control flag

This commit is contained in:
Yonle 2026-02-23 20:57:11 +07:00 committed by Phantasm
commit 848b3f5d5b
4 changed files with 4 additions and 4 deletions

View file

@ -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