News for hackers. Stuff that matters.
Re:FLIF – Free Lossless Image Format by panic on Monday March 07, 2016 @07:54AM (#11238589)
Please, no! The web already makes my phone heat up enough as it is.
Re:FLIF – Free Lossless Image Format by AshleysBrain on Monday March 07, 2016 @03:47PM (#11241480)
The proposal I linked to suggests writing decoders using WebAssembly, so they should heat up your phone no more than the native image decoders in the browser itself.
Re:FLIF – Free Lossless Image Format by vram22 on Monday March 07, 2016 @03:21PM (#11241317)
Just had a wild thought:

I wonder how different the web would be [1] if all data was sent in binary instead of some (text, HTML, JS) being sent in text format. Or do some servers and clients gzip the text automatically before sending it. I've heard of stuff like that (and seen HTTP headers related to it), but haven't looked deeply into it.

[1] I mean in terms of speed. But there could be tradeoffs, because, though sending (smaller) binary data would be faster, the parts of it that represented text would have to converted to/from text at either end.

Re:FLIF – Free Lossless Image Format by Vendan on Tuesday March 08, 2016 @10:22AM (#11245717)
almost all servers support compression nowadays, and most clients as well. The HTTP headers and such won't get compressed, but there's a very good chance that every page and text asset you get has been compressed in transit. Some servers even have the option of precompressing assets and delivering them without having to stream through a compression algorithm, but that only works with static assets.
Re:FLIF – Free Lossless Image Format by vram22 on Wednesday March 09, 2016 @01:41AM (#11251342)
Interesting, that second point. Wonder how it is done. Via some background process that keeps monitoring asset dirs for new files, or does the user have to run a tool for that whenever they add new assets.
Re:FLIF – Free Lossless Image Format by Vendan on Thursday March 10, 2016 @11:31PM (#11264655)
However you choose to do so, i.e. usually via your deployment tool or something similar. One reference point: http://nginx.org/en/docs/http/ngx_http_gzip_static_module.ht...
Re:FLIF – Free Lossless Image Format by vram22 on Friday March 11, 2016 @08:50AM (#11266559)
Thanks. Will check it.