mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 16:40:29 +00:00
Update comment to reflect what the code is actually doing
This commit is contained in:
parent
e04e16bbc0
commit
c62195127d
1 changed files with 2 additions and 2 deletions
|
@ -297,8 +297,8 @@ defmodule Pleroma.ReverseProxy do
|
||||||
|
|
||||||
cond do
|
cond do
|
||||||
has_cache? ->
|
has_cache? ->
|
||||||
# There's caching header present but no cache-control -- we need to explicitely override it
|
# There's caching header present but no cache-control -- we need to set our own
|
||||||
# to public as Plug defaults to "max-age=0, private, must-revalidate"
|
# as Plug defaults to "max-age=0, private, must-revalidate"
|
||||||
List.keystore(headers, "cache-control", 0, {"cache-control", @default_cache_control_header})
|
List.keystore(headers, "cache-control", 0, {"cache-control", @default_cache_control_header})
|
||||||
|
|
||||||
true ->
|
true ->
|
||||||
|
|
Loading…
Reference in a new issue