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;