jointrashposs/content/en/.docs-legacy/admin/cdn.md

18 lines
682 B
Markdown
Raw Normal View History

2023-07-08 10:36:02 +02:00
# Set up a CDN
When publishing your Misskey instance, we strongly recommend using a CDN such as [Cloudflare](https://www.cloudflare.com/).
Using a CDN has the following advantages
- You can have static content cached, which reduces the load on your server
- The IP address of the server is less exposed, which can mitigate DoS attacks etc.
## Caching
Misskey Web is completely static and does not require a server to run. Therefore the whole Misskey Web can be cached in a CDN.
The Misskey API cannot be cached.
You need to configure the following settings in your CDN
- Cache all requests except `/api/*`.
2023-07-10 17:44:03 +02:00
:::tip
2023-07-08 10:36:02 +02:00
You don't need to clear the cache when you update Misskey.
::::