3 ms·
I don't see how the client could selectively download frames. GIF isn't really the nicest file format anyway.
by michaelmior 15y ago
I don't see how the client could selectively download frames. GIF isn't really the nicest file format anyway.
- adavies42 15y agocan you fetch arbitrary byte ranges over http? i don't know the details of the GIF chunk format, but often there's a header or something that you could use to calculate what other part of the file you want. (yes, this is almost certainly a terrible way to implement it, but i was curious as to whether it could be shoehorned in.)
- michaelmior 15y agoYou can, but this is server dependent and not possible with the GIF format. If you were to construct a format where this is possible, this would mean a minimum of two HTTP requests and quite possible three since the header would have to be of variable length. Additionally, trying to get browsers to consistently implement something of this level of complexity sounds dangerous.