diff options
author | rinpatch <rinpatch@sdf.org> | 2020-03-13 16:25:10 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-03-13 16:25:10 +0000 |
commit | 096c5c52e0eda931e3a9c46b61292dde55e19c91 (patch) | |
tree | 1f0fec521ee326084d76c4ff93b8e4cac1c0b71c /test | |
parent | 802b991814fb851c0442dbb7b7bfc065fc062178 (diff) | |
parent | c3b9fbd3a759d281ef2e81395b78549e43cab63c (diff) | |
download | pleroma-096c5c52e0eda931e3a9c46b61292dde55e19c91.tar.gz |
Merge branch 'revert/cache-control' into 'develop'
Revert "Set better Cache-Control header for static content"
Closes #1613
See merge request pleroma/pleroma!2290
Diffstat (limited to 'test')
-rw-r--r-- | test/plugs/cache_control_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/plugs/cache_control_test.exs b/test/plugs/cache_control_test.exs index 005912ffb..6b567e81d 100644 --- a/test/plugs/cache_control_test.exs +++ b/test/plugs/cache_control_test.exs @@ -9,7 +9,7 @@ defmodule Pleroma.Web.CacheControlTest do test "Verify Cache-Control header on static assets", %{conn: conn} do conn = get(conn, "/index.html") - assert Conn.get_resp_header(conn, "cache-control") == ["public max-age=86400 must-revalidate"] + assert Conn.get_resp_header(conn, "cache-control") == ["public, no-cache"] end test "Verify Cache-Control header on the API", %{conn: conn} do |