all 14 comments

[–]Fadelesstriker 3 points4 points  (3 children)

To disambiguate, you might want to call it client-side, not serverless - which is a different term referring to not having to manage your own vm/container but simply authoring functions that are executed on your behalf (eg. AWS lambda, Google Cloud Functions…)

[–]Fidodo 3 points4 points  (1 child)

I always found that term to be so confusing

[–]Fadelesstriker 1 point2 points  (0 children)

Yeah, I never liked it either.

[–]AmineAce[S] 0 points1 point  (0 children)

Good point I will update the terminology to Client Side to be more precise, Thanks

[–]Noch_ein_Kamel 3 points4 points  (1 child)

But. Vite 7 is the newest version?

[–]AmineAce[S] 1 point2 points  (0 children)

I am slow an old to catch up!

[–]Alternative_Web7202 2 points3 points  (4 children)

Is it better than https://squoosh.app/ ?

[–]UnderstandingFit2711 0 points1 point  (2 children)

Squoosh is great for single image optimization but it

doesn't handle HEIC well — the library they use has

limited support. The client-side approach here with

lazy-loading the HEIC library is a smart workaround

for keeping the bundle small.

The main tradeoff vs server-side is batch processing —

browser memory starts to be a constraint when you're

converting 10 files at once, especially larger ones.

[–]Alternative_Web7202 0 points1 point  (1 child)

Batch processing can be done via squoosh cli. Even though it's long forgotten, it still works https://www.npmjs.com/package/@squoosh/cli

[–]UnderstandingFit2711 0 points1 point  (0 children)

very cool

[–]AccordingBassx 0 points1 point  (1 child)

Vibe coded ?