article thumbnail

A Guide To Image Optimization On Jamstack Sites

Smashing Magazine

Today, creating content on the Internet is the norm, not the exception. Cache Your Images. A website’s performance can suffer if frequently accessed images are not cached, as many requests will be made to images that have already been loaded in the user’s system. A Guide To Image Optimization On Jamstack Sites. Alba Silvente.

Media 107
article thumbnail

Optimizing The Image Element LCP

Smashing Magazine

See live: Codepen demo 1. The image in this demo is displayed at a fixed width of 280px on all devices. See live: Codepen demo 2. See live: Codepen demo 3. Let’s illustrate the browser’s behavior with an example using our previous code: <img src="image-300.png". srcset=" image-300.png png 300w, image-900.png

Media 106
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

USENIX SREcon APAC 2022: Computing Performance: What's on the Horizon

Brendan Gregg

TCP Extensions for Multipath Operation with Multiple Addresses,” [link] Mar 2020 - [Gregg 20] Brendan Gregg, “Systems Performance: Enterprise and the Cloud, Second Edition,” Addison-Wesley, 2020 - [Hruska 20] Joel Hruska, “Intel Demos PCIe 5.0 Ford, et al., “TCP Clone Disk],” - [link] 2020 - [Moore 20] Samuel K.

article thumbnail

Reducing The Web’s Carbon Footprint: Optimizing Social Media Embeds

Smashing Magazine

Measuring the carbon footprint of the web isn’t an exact science, but a report by the BBC in 2020 estimates that all internet activity accounts for around 3.7% These numbers are based on first-page load — caching seems very efficient for subsequent page loads. of global emissions (similar to the airline industry), and rising.

article thumbnail

USENIX SREcon APAC 2022: Computing Performance: What's on the Horizon

Brendan Gregg

TCP Extensions for Multipath Operation with Multiple Addresses,” [link] , Mar 2020 [Gregg 20] Brendan Gregg, “Systems Performance: Enterprise and the Cloud, Second Edition,” Addison-Wesley, 2020 [Hruska 20] Joel Hruska, “Intel Demos PCIe 5.0 Ford, et al., “TCP Clone Disk],” [link] , 2020 [Moore 20] Samuel K.

article thumbnail

Front-End Performance Checklist 2021

Smashing Magazine

Build Optimizations JavaScript modules, module/nomodule pattern, tree-shaking, code-splitting, scope-hoisting, Webpack, differential serving, web worker, WebAssembly, JavaScript bundles, React, SPA, partial hydration, import on interaction, 3rd-parties, cache. This improves page load time and caching during navigations.

article thumbnail

Exploring Differences Between HTTP Preload vs HTTP/2 Push

KeyCDN

Push however has more support as it is an HTTP/2 feature which is now the latest version of the HTTP protocol for the Internet. This allows you to better leverage browser caching. To measure this we created a demo page and measured the difference in speed between a page with no pushed assets and the same page with 2 pushed assets.

Speed 99