1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-26 06:05:19 +01:00

Caching notice URLs does not produce pleasant results

This commit is contained in:
Mark Felder 2018-05-07 23:43:27 +00:00
parent a9baf955fa
commit 4233b1504f

View File

@ -41,7 +41,7 @@ sub vcl_recv {
# Strip headers that will affect caching from all other static content
# This also permits caching of individual toots and AP Activities
if ((req.url ~ "^/(media|notice|static)/") ||
if ((req.url ~ "^/(media|static)/") ||
(req.url ~ "(?i)\.(html|js|css|jpg|jpeg|png|gif|gz|tgz|bz2|tbz|mp3|ogg|svg|swf|ttf|pdf|woff|woff2)$"))
{
unset req.http.Cookie;