From ca9b7a523bf0845c75aabe1177954b8181a6ead1 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Wed, 2 Oct 2024 20:37:02 +1300 Subject: [PATCH] add cloudflare caching info to install docs --- INSTALL.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 71cf2937..0bd2572f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -478,6 +478,9 @@ In your `.env` you need to set the AWS region you're using for SES. Something li A CDN like Cloudflare is recommended for instances with more than a handful of users. [Recommended caching settings](https://join.piefed.social/2024/02/20/how-much-difference-does-a-cdn-make-to-a-fediverse-instance/). +Ensure you exclude the URL "/inbox" from the Cloudflare WAF [as shown here](https://join.piefed.social/wp-content/uploads/2024/10/disable-waf-on-inbox.png). +Paying careful attention to the caching settings can sharply reduce the load on your server - see [these Cloudflare caching tips](https://join.piefed.social/2024/02/20/how-much-difference-does-a-cdn-make-to-a-fediverse-instance/). + PieFed has the capability to automatically remove file copies from the Cloudflare cache whenever those files are deleted from the server. To enable this, set these variables in your `.env` file: