Tree Shaking and Bundle Size, Done Properly
Removing unused code from JavaScript bundles during the build, so visitors only download the functions a page actually uses. Key takeaways Tree shaking: dead-co...
Desarrolla y mantiene los proyectos web. Escribe sobre arquitectura front-end, rendimiento, accesibilidad y las partes menos vistosas de mantener vivo un sitio.
531 articles
Removing unused code from JavaScript bundles during the build, so visitors only download the functions a page actually uses. Key takeaways Tree shaking: dead-co...
Compressing HTML, CSS, JavaScript and other text responses on the server so they transfer in far fewer bytes, then decompressing them in the browser. Key takeaw...
Delivering the styles needed to render the visible part of the page immediately, often inline in the HTML, and loading the rest of the CSS without blocking rend...
Deferring the download of images until they are about to scroll into view, using the loading="lazy" attribute or a script. Key takeaways Native attrib...
Using the CSS content-visibility property so the browser skips layout and painting for sections of a long page that are off screen until they are needed. Key ta...
A browser API that reports rendering frames that took longer than 50 milliseconds, with details of the scripts responsible, used to diagnose slow interactions....
An HTTP response header that reports how long server-side steps took, such as database queries or cache lookups, so the timings appear in browser tools and moni...
An informational HTTP response a server or CDN sends before the final response, telling the browser which critical resources to preload or connect to while the...
Route changes in single-page applications that update the page without a full browser navigation, and the challenge of measuring their performance. Key takeaway...
A performance problem where JavaScript alternately changes styles and reads layout values, forcing the browser to recalculate layout many times in one frame. Ke...
Services that resize, compress and convert images on request, serving each visitor an appropriately sized image in a format their browser supports. Key takeaway...
Sequences of redirects, such as http to https to www to a trailing slash, that a browser must follow before it reaches the final page. Key takeaways Cost: each...
Showing 456 of 531