diff options
author | Maxim Filippov <colixer@gmail.com> | 2019-11-08 18:30:49 +0900 |
---|---|---|
committer | Maxim Filippov <colixer@gmail.com> | 2019-11-08 18:30:49 +0900 |
commit | b14bf9044fd99fe31dd6aa987d9fc535e3bc0218 (patch) | |
tree | 93b28dac59a093638427b31efdd8200fcb6e51bb /test/plugs/cache_control_test.exs | |
parent | 7258db023e88d5aee5eac06525c42dcb073abd46 (diff) | |
parent | 278674223d36f4d789dce92cd541c47b7e19b674 (diff) | |
download | pleroma-b14bf9044fd99fe31dd6aa987d9fc535e3bc0218.tar.gz pleroma-b14bf9044fd99fe31dd6aa987d9fc535e3bc0218.zip |
Merge branch 'develop' into feature/reports-groups-and-multiple-state-update
Diffstat (limited to 'test/plugs/cache_control_test.exs')
-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 69ce6cc7d..be78b3e1e 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, no-cache"] + assert Conn.get_resp_header(conn, "cache-control") == ["public max-age=86400 must-revalidate"] end test "Verify Cache-Control header on the API", %{conn: conn} do |