fastimage icon indicating copy to clipboard operation
fastimage copied to clipboard

Use HTTP GET Range requests

Open KevinColemanInc opened this issue 9 months ago • 0 comments

No need to download the entire image to detect the type:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests

According to this: https://www.garykessler.net/library/file_sigs.html, you should only need to fetch the first 12 bytes (for webp).

KevinColemanInc avatar May 22 '24 20:05 KevinColemanInc