Commit c6219512 authored by feld's avatar feld

Update comment to reflect what the code is actually doing

parent e04e16bb
......@@ -297,8 +297,8 @@ defp build_resp_cache_headers(headers, _opts) 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 ->
......
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