aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-03-13 16:25:10 +0000
committerrinpatch <rinpatch@sdf.org>2020-03-13 16:25:10 +0000
commit096c5c52e0eda931e3a9c46b61292dde55e19c91 (patch)
tree1f0fec521ee326084d76c4ff93b8e4cac1c0b71c /lib
parent802b991814fb851c0442dbb7b7bfc065fc062178 (diff)
parentc3b9fbd3a759d281ef2e81395b78549e43cab63c (diff)
downloadpleroma-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 'lib')
-rw-r--r--lib/pleroma/web/endpoint.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/endpoint.ex b/lib/pleroma/web/endpoint.ex
index 118c3ac6f..72cb3ee27 100644
--- a/lib/pleroma/web/endpoint.ex
+++ b/lib/pleroma/web/endpoint.ex
@@ -12,7 +12,7 @@ defmodule Pleroma.Web.Endpoint do
plug(Pleroma.Plugs.HTTPSecurityPlug)
plug(Pleroma.Plugs.UploadedMedia)
- @static_cache_control "public max-age=86400 must-revalidate"
+ @static_cache_control "public, no-cache"
# InstanceStatic needs to be before Plug.Static to be able to override shipped-static files
# If you're adding new paths to `only:` you'll need to configure them in InstanceStatic as well