feld
abc15b6dcc
Improve Varnish config. We set sane headers from the backend now.
5 years ago
Mark Felder
efaa41fad2
Consistent intentation
6 years ago
Mark Felder
fda942c329
Cache partial objects for 10 minutes
...
This enables caching/streaming of chunked responses
6 years ago
Mark Felder
ce224ba5f0
Streaming is enabled by default
...
Support more filetypes for caching static media
6 years ago
William Pitcock
e4bd5a6950
example configs: kill STS/CT headers
6 years ago
William Pitcock
057a9017b3
example configs: remove obsolete CSP configuration
6 years ago
shibayashi
d027c53d75
Add frame-ancestors 'none' to all configs
6 years ago
shibayashi
3487e15963
installation/pleroma.vcl: Add HTTP security headers
6 years ago
Mark Felder
a85d051675
Don't strip headers from backend for /notice/ either
6 years ago
Mark Felder
4233b1504f
Caching notice URLs does not produce pleasant results
6 years ago
Mark Felder
8dbb4c6c50
Remove hack for /about/more as we are doing this in Pleroma now
7 years ago
Mark Felder
5256c712dc
Caching /objects/ URLs breaks them in Mastoweb as they don't redirect to the /notice/
...
Not sure why it matters if you cache it or not. What's different about this JSON blob?
Perhaps it's a header that needs to be set for the redirect to happen?
7 years ago
Mark Felder
fcb32345d7
Remove attempted caching of toots
...
This does not work as expected. We should not attempt to be clever here.
Varnish will do the right thing if we just teach Pleroma to set headers
properly for content we know can be cached.
7 years ago
Mark Felder
c8c0519f52
Clarify vcl_synth is for all 301s we generate
7 years ago
Mark Felder
bdc522da1b
Add ability to PURGE the cache
...
Someday Pleroma will learn this skill :-)
7 years ago
Mark Felder
1d06f5037d
Add example Varnish VCL
7 years ago