projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a9baf95
)
Caching notice URLs does not produce pleasant results
author
Mark Felder
<feld@FreeBSd.org>
Mon, 7 May 2018 23:43:27 +0000
(23:43 +0000)
committer
Mark Felder
<feld@FreeBSd.org>
Mon, 7 May 2018 23:43:27 +0000
(23:43 +0000)
installation/pleroma.vcl
patch
|
blob
|
history
diff --git
a/installation/pleroma.vcl
b/installation/pleroma.vcl
index f3faa943268ce95d425bb840ab660a370f193dfd..9f783b5dacc2a966379a9035055fafbdfa9cf0b4 100644
(file)
--- 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
# 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;
(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;