Notes and tutorials on performance first web development

Andrii

Understanding the 14KB Rule in Web Performance

You've probably seen pages that render instantly and others that hang on a blank screen for seconds. Often, the difference comes down to whether critical resources fit within the first network round trip—roughly 14KB. This constraint comes from TCP's congestion control mechanism and has practical implications for how…

Continue reading...
Andrii

Heavy Data Processing in JavaScript Without Freezing the UI

Have you ever clicked a button and watched the entire page freeze? No scrolling, no hover effects, just a stuck interface. This frustrating experience often happens when a web application needs to process a lot of data. The detailed reason lies in how browsers work: JavaScript is single-threaded. This means it can…

Continue reading...