[#2497] Adjusted media proxy preview invalidation. Allowed client-side caching for...
authorIvan Tashkinov <ivantashkinov@gmail.com>
Sat, 5 Sep 2020 17:19:09 +0000 (20:19 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Sat, 5 Sep 2020 17:19:09 +0000 (20:19 +0300)
commitf170d471307ba0082b98351190b3d6b808bdfe1a
treea33c96dae5215ed185379bfca1063084f2d05bce
parentc3b02341bf4ab610e9425d6811dca057e9f811a4
[#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.
config/config.exs
lib/pleroma/helpers/media_helper.ex
lib/pleroma/reverse_proxy/reverse_proxy.ex
lib/pleroma/web/activity_pub/mrf/media_proxy_warming_policy.ex
lib/pleroma/web/media_proxy/invalidation.ex
lib/pleroma/web/media_proxy/media_proxy.ex
lib/pleroma/web/media_proxy/media_proxy_controller.ex