Caching notice URLs does not produce pleasant results
authorMark Felder <feld@FreeBSd.org>
Mon, 7 May 2018 23:43:27 +0000 (23:43 +0000)
committerMark Felder <feld@FreeBSd.org>
Mon, 7 May 2018 23:43:27 +0000 (23:43 +0000)
installation/pleroma.vcl

index f3faa943268ce95d425bb840ab660a370f193dfd..9f783b5dacc2a966379a9035055fafbdfa9cf0b4 100644 (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;