diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2019-12-05 12:22:19 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2019-12-05 12:22:19 +0300 |
commit | 49bb0a130f93476d32d3177d7a989b7a98a063f2 (patch) | |
tree | 6e64e2bbe2644dd607ec685de5b2bf94c1f9326c /test/plugs/cache_control_test.exs | |
parent | b9041c209787dc279d4dc5194d65dff73684cdb9 (diff) | |
parent | 228bf4d214abe3bb62c52128d3bc145e396b174d (diff) | |
download | pleroma-49bb0a130f93476d32d3177d7a989b7a98a063f2.tar.gz pleroma-49bb0a130f93476d32d3177d7a989b7a98a063f2.zip |
Merge branch 'develop' into issue/1276
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 |