[#2497] Adjusted media proxy preview invalidation. Allowed client-side caching for media preview. Adjusted prewarmer to fetch only proxiable URIs.
Removed :preview pool in favor of existing :media one. Misc. refactoring.
This commit is contained in:
parent
c3b02341bf
commit
f170d47130
7 changed files with 34 additions and 32 deletions
|
|
@ -18,6 +18,7 @@ defmodule Pleroma.ReverseProxy do
|
|||
@methods ~w(GET HEAD)
|
||||
|
||||
def max_read_duration_default, do: @max_read_duration
|
||||
def default_cache_control_header, do: @default_cache_control_header
|
||||
|
||||
@moduledoc """
|
||||
A reverse proxy.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue