decentraland / catalyst

🐧 Content server for Decentraland
http://decentraland.github.io/catalyst-monitor
Apache License 2.0
52 stars 54 forks source link

Support partial fetch to download content #896

Open pentreathm opened 2 years ago

pentreathm commented 2 years ago

In order to implement a Service Worker on the client side to try to cache videos locally and reduce the DataTransfer cost in CloudFlare, Partial Fetch support is needed in the Content Server, and these type of requests should return HTTP Status code 206 and support the range header.

The HTTP 206 Partial Content success status response code indicates that the request has succeeded and the body contains the requested ranges of data, as described in the Range header of the request

0xJuancito commented 2 years ago

On Standby because of the incident: https://github.com/decentraland/rca/blob/main/Incidents/incident-2.md

PRs: