Remove c
article thumbnail

Understanding Weak Reference In JavaScript

Smashing Magazine

Memory and performance management are important aspects of software development and ones that every software developer should pay attention to. Let’s illustrate this with some snippets: let smashing = {name: "magazine"}; // The object can be accessed from the reference. // Overwrite the reference smashing. Frank Joseph.

Cache 116
article thumbnail

Improving The Performance Of An Online Store (Case Study)

Smashing Magazine

The project consisted of upgrading the shop software to our own open-source system and redoing the shop’s front end from scratch. And while you can usually cache the full page of an article, the same is not true of many shop pages and elements. Working with jewellerybox on its online store was a welcome change of pace for us.

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

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

Front-End Performance Checklist 2019 [PDF, Apple Pages, MS Word]

Smashing Magazine

The idea is quite straightforward: Push the minimal code needed to get interactive for the initial route to render quickly, then use service worker for caching and pre-caching resources and then lazy-load routes that you need, asynchronously. An application shell is the minimal HTML, CSS, and JavaScript powering a user interface.

article thumbnail

Front-End Performance Checklist 2020 [PDF, Apple Pages, MS Word]

Smashing Magazine

The idea is quite straightforward: Push the minimal code needed to get interactive for the initial route to render quickly, then use service worker for caching and pre-caching resources and then lazy-load routes that you need, asynchronously. An application shell is the minimal HTML, CSS, and JavaScript powering a user interface.

article thumbnail

Headless WordPress: The Ups And Downs Of Creating A Decoupled WordPress

Smashing Magazine

However, being an easy-to-use inclusive and versatile piece of software, WordPress comes with a plethora of options that are not necessarily utilized in each and every project. For example, simple presentational sites or sites that use WordPress as a backend are the main candidates for the decoupled approach. Security concerns. post_slug ||

Cache 78
article thumbnail

Solving Common Cross-Platform Issues When Working With Flutter

Smashing Magazine

Flutter isn’t that, though: it runs natively on each platform, and it means each app runs just like it would run if it were written in Java/Kotlin or Objective-C/Swift on Android and iOS, pretty much. You need to know that because this implies that you need to take care of the many differences between these very diverse platforms.

Storage 93