Tanzim Hossain

Tanzim Hossain Building systems that last. Backend Engineer sharing system design, software architecture, and practical engineering.

🌐 https://0xtanzim.dev

How does a browser know a resource hasn't changed without downloading it again?You've probably seen this in your browser...
14/08/2026

How does a browser know a resource hasn't changed without downloading it again?

You've probably seen this in your browser's Network tab:

304 Not Modified

But what actually happens behind that tiny response?

I just published a deep dive into HTTP ETags, covering:

β€’ How ETag and If-None-Match work
β€’ Why 304 can avoid sending the response body
β€’ How ETags work with stateless servers
β€’ Version-based vs hash-based ETags
β€’ Strong vs weak ETags
β€’ Optimistic concurrency with If-Match
β€’ Load balancers and multiple servers
β€’ Replication lag and distributed systems
β€’ Common production pitfalls

The interesting part?

ETags aren't necessarily hashes. They're identifiers for specific versions of resources.

Read the full article below:

πŸ”— https://levelup.gitconnected.com/the-http-etags-handbook-how-browsers-know-a-file-hasnt-changed-without-re-downloading-it-6ba821db5e39

19/07/2026

Uploading a 10GB file to Amazon S3 requires more than a single request.

In this video, I show how multipart upload works, how to use presigned URLs, and how to build a reliable large file upload flow.

Feedback is welcome.

Most developers know that enabling 𝐆𝐳𝐒𝐩 makes websites faster.But have you ever stopped to ask 𝐰𝐑𝐲?Open Chrome DevTools ...
15/07/2026

Most developers know that enabling 𝐆𝐳𝐒𝐩 makes websites faster.

But have you ever stopped to ask 𝐰𝐑𝐲?

Open Chrome DevTools and you'll often see something like this:

π’π’π³πž: 𝟏𝟐𝟎 𝐊𝐁
π“π«πšπ§π¬πŸπžπ«π«πžπ: πŸ‘πŸ 𝐊𝐁

The browser still receives the complete page, so where did the other πŸ–πŸ– 𝐊𝐁 go?

The answer lies in 𝐇𝐓𝐓𝐏 𝐜𝐨𝐦𝐩𝐫𝐞𝐬𝐬𝐒𝐨𝐧.

When a browser sends a request, it tells the server which compression algorithms it supports using the π€πœπœπžπ©π­-π„π§πœπ¨ππ’π§π  header. The server chooses the best algorithm (such as Gzip, Brotli, or Zstandard), compresses the response, and sends it back with a π‚π¨π§π­πžπ§π­-π„π§πœπ¨ππ’π§π  header. The browser then decompresses it automatically before rendering the page.

It's one of those pieces of infrastructure that users never noticeβ€”but it saves bandwidth, improves page load times, and powers almost every modern website.

In this article, I dive into:

β€’ How HTTP compression works step by step
β€’ Browser and server negotiation (π€πœπœπžπ©π­-π„π§πœπ¨ππ’π§π )
β€’ Where compression actually happens in production
β€’ Gzip vs Brotli vs Zstandard
β€’ Why text compresses so well but images don't
β€’ CPU vs bandwidth trade-offs
β€’ CDN caching and the importance of π•πšπ«π²: π€πœπœπžπ©π­-π„π§πœπ¨ππ’π§π 
β€’ Common production mistakes, double compression, and the BREACH security attack

If you're interested in backend engineering, networking, or understanding how the web really works, I think you'll enjoy this deep dive.

πŸ“– Read the full article:
https://medium.com/gitconnected/how-gzip-makes-the-web-feel-faster-inside-http-compression-9d6ac6dbccc5

What other HTTP or backend topics would you like me to explore next?

Last week I was debugging a slow API and, out of habit, popped open Chrome DevTools and clicked the Network tab. Size and Transferred show…

Address

Dhaka
1212

Alerts

Be the first to know and let us send you an email when Tanzim Hossain posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Shortcuts

Share