Commit 3b1b183b authored by feld's avatar feld

Synchronize cache-control header for local media with the mediaproxy

parent db36b481
......@@ -14,7 +14,7 @@ defmodule Pleroma.Plugs.UploadedMedia do
# no slashes
@path "media"
@default_cache_control_header "public max-age=86400 must-revalidate"
@default_cache_control_header "public, max-age=1209600"
def init(_opts) do
static_plug_opts =
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment