summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSd.org>2018-05-07 23:43:27 +0000
committerMark Felder <feld@FreeBSd.org>2018-05-07 23:43:27 +0000
commit4233b1504fb4ac81c9700fc71a806407452c6c54 (patch)
treeb54ea4368f9e8ff6b2b0455bf621a13a4efb5dfc
parenta9baf955fa47b58ec9ae1f90da14abc10379dcde (diff)
downloadpleroma-4233b1504fb4ac81c9700fc71a806407452c6c54.tar.gz
pleroma-4233b1504fb4ac81c9700fc71a806407452c6c54.zip
Caching notice URLs does not produce pleasant results
-rw-r--r--installation/pleroma.vcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/installation/pleroma.vcl b/installation/pleroma.vcl
index f3faa9432..9f783b5da 100644
--- a/installation/pleroma.vcl
+++ b/installation/pleroma.vcl
@@ -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;