Remove Availability Remove Cache Remove Magazine Remove Servers
article thumbnail

Understanding Weak Reference In JavaScript

Smashing Magazine

The code below illustrates how to use WeakSet() and some of the methods available: const human = new WeakSet(); let paul = {name: "Paul"}; let mary = {gender: "Mary"}; // Add the human with the name paul to the classroom. let smashing = {name: "magazine"}; let arr = [smashing]; // Overwrite the reference. It cannot be looped through.

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

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

A New Way To Reduce Font Loading Impact: CSS Font Descriptors

Smashing Magazine

Smashing Magazine, like most publishers, makes use of web fonts and the below screenshot shows the difference between the initial render (with the fallback fonts), and the final render (with the web fonts): Smashing Magazine article with fallback font and with full web fonts. Large preview ). Large preview ).

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

Meet Hydrogen: A React Framework For Dynamic, Contextual And Personalized E-Commerce

Smashing Magazine

From connecting back-office operations to front-of-the-house A/B testing and dynamic personalization for each customer, the shared foundation is fast server-side rendering powered by fast storefront data access. On top of this foundation, we add layers of caching, prerendering and edge delivery optimizations — not the other way around.

Cache 136
article thumbnail

Core Web Vitals Tools To Boost Your Web Performance Scores

Smashing Magazine

It also lists cached resources and identifies unused Javascript. It graphs server, network, CSS, Javascript, critical content, and image optimizations to show the potential savings you could gain by incorporating fixes into your site. They are granular and available at domain and page levels. They are also shareable.