3 ms·
As others have mentioned "ranges" are put in the uri stem & query string for two reasons; evading mangling proxies and simpler access from browsers/clients. Fro
by donavanm 10y ago
As others have mentioned "ranges" are put in the uri stem & query string for two reasons; evading mangling proxies and simpler access from browsers/clients. From memory notable implementarions are MPEG DASH, action script/flash, icecast, and various proprietary "services".
The formats that send time ranges instead of bytes ranges are the worst. In that case the server/cdn has to retrieve & read the manifest, decode time indexes to fragments/chunks/ranges, and then return the appropriate byte stream to the player. This also means you cant cache based on the URI plus query string!
Source: ive worked at both ISPs and CDNs supporting streaming content
- toxik 10y agoI mean I see the benefit, but any semi-competent proxy already caches based on the Vary header, and also the range header (per the HTTP 1.1 specification.) It shouldn't be a problem. Also query strings are per definition part of the URL.