article thumbnail

A New Pattern For The Jamstack: Segmented Rendering

Smashing Magazine

Segmented Rendering is a new pattern for the Jamstack that lets you personalize content statically, without any sort of client-side rendering or per-request Server-Side Rendering. You are now “Head of Performance” at Repairing Magazine, the most serious competitor to Smashing Magazine. Congratulations On Your New Job.

Cache 115
article thumbnail

Understanding Weak Reference In JavaScript

Smashing Magazine

Let’s illustrate this with some snippets: let smashing = {name: "magazine"}; // The object can be accessed from the reference. // Overwrite the reference smashing. let smashing = {name: "magazine"}; let arr = [smashing]; // Overwrite the reference. smashing = null; console.log(array[0]) // {name: 'magazine'}.

Cache 117
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

Rethinking Server-Timing As A Critical Monitoring Tool

Smashing Magazine

Rethinking Server-Timing As A Critical Monitoring Tool. Rethinking Server-Timing As A Critical Monitoring Tool. In the world of HTTP Headers, there is one header that I believe deserves more air-time and that is the Server-Timing header. Setting Server-Timing. Sean Roberts. 2022-05-16T10:00:00+00:00.

Servers 93
article thumbnail

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

Brendan Gregg

My personal opinion is that I don't see a widespread need for more capacity given horizontal scaling and servers that can already exceed 1 Tbyte of DRAM; bandwidth is also helpful, but I'd be concerned about the increased latency for adding a hop to more memory.

article thumbnail

How To Optimize Progressive Web Apps: Going Beyond The Basics

Smashing Magazine

You can find a comprehensive Beginner’s Guide To Progressive Web Apps on Smashing Magazine that focuses on building the core of PWAs. The service workers enable the offline usage of the PWA by fetching cached data or informing the user about the absence of an Internet connection. Cached content with IndexedDB. Service Workers.

Cache 124
article thumbnail

Improving The Performance Of An Online Store (Case Study)

Smashing Magazine

And while you can usually cache the full page of an article, the same is not true of many shop pages and elements. Some are user-specific, like the shopping cart in the header or the wish list, and due to the personal nature of the data, they should never be cached. Initially, we loaded it from our server. Large preview ).

article thumbnail

Five Data-Loading Patterns To Improve Frontend Performance

Smashing Magazine

The resource loading waterfall is a cascade of files downloaded from the network server to the client to load your website from start to finish. Client Side Rendering, Server Side Rendering And Jamstack. To run it, you have to make another API call to the server and retrieve any data you want to load. Active Memory Caching.

Cache 126