Why is there no support for compression?
> Accept-Encoding: deflate, gzip, br, zstd
...It seems, the computational overhead is not worth it?
https://nigeltao.github.io/blog/2021/fastest-safest-png-deco...
PNG decoding seems to be fast enough:
tree1 - PEP = 0.412 ms PNG = 0.25 ms
font - PEP = 0.602 ms PNG = 0.663 ms
nz_scene - PEP = 32.121 ms PNG = 3.069 ms
Anyway, PEP is interesting! nz_scene - PEP = 73.542 bytes,
lossy-PNG = 43.557 bytes,
lossy-WEBP = 26.654 bytes,
lossy-mozcjpeg = 15.716 bytes
So it's not about filesize here, it must be decompression speed. {
"request_id": "9622a21f-37bf-4404-ac84-8728977a5272",
"status": "ANALYZING",
"score": null,
"models": [
{
"name": "rd-context-img",
"status": "ANALYZING",
"score": null
},
{
"name": "rd-pine-img",
"status": "ANALYZING",
"score": null
},
{
"name": "rd-oak-img",
"status": "ANALYZING",
"score": null
},
{
"name": "rd-elm-img",
"status": "ANALYZING",
"score": null
},
{
"name": "rd-img-ensemble",
"status": "ANALYZING",
"score": null
},
{
"name": "rd-cedar-img",
"status": "ANALYZING",
"score": null
}
]
}
A small 10KB lib that augments HTML with the essential good stuff (like dynamic imports of static HTML)
$ curl --location --silent "https://unpkg.com/htmx.org@2.0.4" | wc -c
50917
$ curl --location --silent "https://unpkg.com/htmx.org@2.0.4" | gzip --best --stdout | wc -c
16314
"OS: Windows 11 Pro/Home (GAIA does not support macOS or Linux at this time, ..."