Post AzBVeZXyTIQcx754lc by williamoconnell@mas.to
(DIR) More posts by williamoconnell@mas.to
(DIR) Post #AzBVNkiBhxrkekq0Nk by slightlyoff@toot.cafe
2025-10-13T21:29:21Z
1 likes, 0 repeats
Look, you might think frontend is fine and going well, but today I found a 1.1MB PNG (that could have been a 40K AVIF) in the critical path of an important app.Embedded in an SVG as a `data:` URL.Shipped as a React component.Brb, going to lie down and cry forever.
(DIR) Post #AzBVRNVXvCRdqheaPo by auxonic@ottawa.place
2025-10-13T21:30:41Z
0 likes, 0 repeats
@slightlyoff unpacking that disappoint in my brain physically hurt.
(DIR) Post #AzBVRORKSMfKjugjTs by slightlyoff@toot.cafe
2025-10-13T21:32:07Z
1 likes, 0 repeats
@auxonic The kicker? It's arguably not even the worst-served image on the page.
(DIR) Post #AzBVeZXyTIQcx754lc by williamoconnell@mas.to
2025-10-13T21:54:59Z
1 likes, 0 repeats
@slightlyoff One time at work* I realized that an SVG image that had been in the app for years was like 2MB, because it somehow accidentally included a screenshot of the designer's entire monitor, of which only a handful of cropped pixels were actually visible.*Not saying which job to protect the guilty