Tuesday, June 25, 2024 at 3:24 PM
I just modified when videos are going through my CDN. Previously, every video under 512 MB would go through Cloudflare and the others would be served directly from my server. Now, by default, videos are served from my server, but if they have been recently accessed, they go through Cloudflare. When a video is accessed through Cloudflare, the entire video is downloaded from my server even if only part of it is downloaded from the browser. Now, only the part that the browser asks for is downloaded. The video will go through the CDN if you reload the page.