Update docs
This commit is contained in:
@@ -31,8 +31,8 @@ Now whenever you share an image or gallery through Immich, it will automatically
|
|||||||
you.
|
you.
|
||||||
|
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> If you're using Cloudflare, please make sure to set your `/share/video/*` and `/share/*/download` paths to Bypass
|
> If you're using Cloudflare, please make sure to set your `/share/video/*`, `/share/*/download` and `/s/*/download`
|
||||||
> Cache, otherwise you may run into video playback issues and failed zip downloads. See
|
> paths to Bypass Cache, otherwise you may run into video playback issues and failed zip downloads. See
|
||||||
> [Troubleshooting](/troubleshooting) for more information.
|
> [Troubleshooting](/troubleshooting) for more information.
|
||||||
|
|
||||||
Those two variables are all most people need. The port and the config file location are covered under
|
Those two variables are all most people need. The port and the config file location are covered under
|
||||||
|
|||||||
@@ -11,8 +11,9 @@ set to bypass cache. I ran into this issue myself, and found
|
|||||||
## "Download all" fails partway through
|
## "Download all" fails partway through
|
||||||
|
|
||||||
If you use Cloudflare with a "cache everything" rule and large zip downloads stop with a browser error after a few
|
If you use Cloudflare with a "cache everything" rule and large zip downloads stop with a browser error after a few
|
||||||
seconds, add a cache rule that bypasses cache for `/share/*/download`, the same as for `/share/video/*` above. From
|
seconds, add a cache rule that bypasses cache for `/share/*/download` and `/s/*/download` (the slug-link form), the
|
||||||
v3.3.0 the zip is streamed as it is fetched from Immich, and Cloudflare's cache cuts those downloads short.
|
same as for `/share/video/*` above. From v3.3.0 the zip is streamed as it is fetched from Immich, and Cloudflare's
|
||||||
|
cache cuts those downloads short.
|
||||||
|
|
||||||
Versions after v3.3.0 send the zip with `Cache-Control: no-store`, which is enough on its own if your cache rule's Edge
|
Versions after v3.3.0 send the zip with `Cache-Control: no-store`, which is enough on its own if your cache rule's Edge
|
||||||
TTL is set to respect the origin. If the rule overrides the Edge TTL, Cloudflare ignores that header and you need the
|
TTL is set to respect the origin. If the rule overrides the Edge TTL, Cloudflare ignores that header and you need the
|
||||||
|
|||||||
Reference in New Issue
Block a user