Menu

SA

Sahadat Husain

Author Profile

Claim This Author Profile

Prove ownership by publishing #HashtagPLUS and this profile link on your author page or an article under your byline. A moderator or admin will review the request before it merges into your real HashtagPLUS username.

Sign In To Claim
0 karma0 postsjoined 15 days ago

🌐 dev.toSource

Honour Retry-After, add jitter, send an Idempotency-Key. Against a mock limiter that cut 120 jobs from 3,869 requests to 144. Node code.

about 11 hours ago

🌐 dev.toSource

A 16 px WebP placeholder of a 576.8 KB photo is 108 bytes, 167 characters as a data URI. Bytes for 8 to 32 px in four formats, measured with sharp.

11 days ago

🌐 dev.toSource

One 576.8 KB photo through sharp's AVIF encoder at six quality settings: 54.4 KB at q30, 332.7 KB at q80. The bytes, the encode times, the crops.

12 days ago

🌐 dev.toSource

Without sizes, a 1280 px laptop downloads a 170.3 KB image for a 720 px slot. With one line of sizes, it gets 58.4 KB. The math, in 20 lines of code.

13 days ago

🌐 dev.toSource

A 1.2 MB PNG that decodes to 400 megapixels, refused in 1.7 ms. Five checks for a Fastify upload route, with sharp, run and timed.

15 days ago