article thumbnail

Five Data-Loading Patterns To Improve Frontend Performance

Smashing Magazine

Active Memory Caching. When you want to get data that you already had quickly, you need to do cachingcaching stores data that a user recently retrieved. Caching partially stores your data and is not used as permanent storage. Caching partially stores your data and is not used as permanent storage.

Cache 125
article thumbnail

Are Imposter Domains Re-Publishing Your Website?

Smashing Magazine

Search Engine And Web Archive Cached Results. Another common category of imposter domains are domains used by search engines for delivering cached results or archived versions of page views. The message that appears above a cached search result in Google’s search service. Further Reading on Smashing Magazine.

Website 89
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

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 116
article thumbnail

How Improving Website Performance Can Help Save The Planet

Smashing Magazine

The Green Web Foundation maintains an ever-growing database of web hosts who are either wholly powered by renewable energy or are at least committed to being carbon neutral. In this screenshot below, for example, we can see that loading the Smashing Magazine website for the first time incurs just under a megabyte of data transfer.

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 123
article thumbnail

Creating A Magento PWA: Customizing Themes vs. Coding From Scratch

Smashing Magazine

Due to the use of modern frameworks, advanced caching and rendering, and data transmission via API, properly developed PWAs can be a seven-league step up to boost the store’s speed. These multiple “heads” are attached to the backend and database. When working on the offline mode, choose the service worker in combo with cache API.

Code 74
article thumbnail

WaterBear: Building A Free Platform For Impactful Documentaries (Part 2)

Smashing Magazine

for the web app, Sanity CMS, Firebase Auth, and Firestore database. Jump to the workshops ↬ Using CDN For Caching And WebP For Lighter File Sizes As I mentioned a little earlier, our stack includes Sanity’s CMS. We used TanStack Query (formerly known as react-query ) for both fetching data and query caching.

Cache 72