News for hackers. Stuff that matters.
Re:TrasHTTPandas – Trash Panda HTTP Responses by exikyut on Saturday November 18, 2023 @03:59AM (#38317147)
This is super cute, but unfortunately it's currently both misconfigured and broken. Very easy fixes though.

Firstly, it's eyebrow-raisingly slow. A quick network check shows everything is capped at 100kbps download. For PNG images that translates to a hitch-y 2-3 second pause.

Secondly, the slowness is amplified to the point of "this needs fixing" by the total lack of caching. Everything pauses every time the image loads.

Thirdly,

  $ wget -O- https://httpraccoons.com/jpeg/100 | md5sum
  ...
  Length: 530755 (518K) [image/jpeg]
  ...
  9a7aa269111ca315277bbec79bfab5c1

  $ wget -O- https://httpraccoons.com/100 | md5sum
  ...
  Length: 530755 (518K) [image/png]
  ...
  9a7aa269111ca315277bbec79bfab5c1
It's changing the mimetype but serving the same image!

Critically, besides these issues, this is perfect and fit for purpose :)

Re:TrasHTTPandas – Trash Panda HTTP Responses by hiyer on Saturday November 18, 2023 @05:38AM (#38317877)
The wepb images are smaller and load pretty fast.
Re:TrasHTTPandas – Trash Panda HTTP Responses by mozzyfx on Saturday November 18, 2023 @11:31AM (#38321264)
Hey, creator here! Thanks for the feedback. For the first point, I can't reproduce this slowness. On the third point, and I'm mostly asking for thoughts here: I'm thinking of removing the "false" formats, but I wonder if they come with any upsides?