From: Mark Felder Date: Fri, 13 Mar 2020 16:46:40 +0000 (-0500) Subject: Update comment to reflect what the code is actually doing X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=c62195127d93761703954af97e328675ee853805;p=akkoma Update comment to reflect what the code is actually doing --- diff --git a/lib/pleroma/reverse_proxy/reverse_proxy.ex b/lib/pleroma/reverse_proxy/reverse_proxy.ex index 8db3f78bb..072a3d263 100644 --- a/lib/pleroma/reverse_proxy/reverse_proxy.ex +++ b/lib/pleroma/reverse_proxy/reverse_proxy.ex @@ -297,8 +297,8 @@ defmodule Pleroma.ReverseProxy do cond do has_cache? -> - # There's caching header present but no cache-control -- we need to explicitely override it - # to public as Plug defaults to "max-age=0, private, must-revalidate" + # There's caching header present but no cache-control -- we need to set our own + # as Plug defaults to "max-age=0, private, must-revalidate" List.keystore(headers, "cache-control", 0, {"cache-control", @default_cache_control_header}) true ->