Remove Cache Remove Code Remove Internet Remove Magazine
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. You’ll also find example code or references to more specific guides so you can implement these tips to your PWA. Cached content with IndexedDB. Service Workers. Application shell architecture.

Cache 123
article thumbnail

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

Smashing Magazine

Creating A Magento PWA: Customizing Themes vs. Coding From Scratch. Creating A Magento PWA: Customizing Themes vs. Coding From Scratch. One of the reasons for that is because a PWA has the same code base. So unlike the case with native applications, the progressive web app needs to be coded only once. Alex Husar.

Code 74
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

A Guide To Image Optimization On Jamstack Sites

Smashing Magazine

Today, creating content on the Internet is the norm, not the exception. Webpage performance test report for the Smashing Magazine website. In that case, you can always use the <picture> HTML tag, as shown in the code below, so that the browser can pick the image format supported in the order provided. <picture>

Media 105
article thumbnail

Front-End Performance Checklist 2021

Smashing Magazine

Have we optimized enough with tree-shaking, scope hoisting, code-splitting, and all the fancy loading patterns with intersection observer, progressive hydration, clients hints, HTTP/3, service workers and — oh my — edge workers? It’s much easier to reach performance goals when the code base is fresh or is just being refactored.

article thumbnail

Speed Up Your Website With WebP

Smashing Magazine

WebP lossy compression, on the other hand, uses what’s known as prediction coding to more accurately adjust the pixels in an image. Samsung Internet. The platforms that continue to hold back support are: Internet Explorer. Last year, front end developer Jeremy Wagner wrote up a guide for Smashing Magazine on this very topic.

Website 72
article thumbnail

Optimizing Google Fonts Performance

Smashing Magazine

If I change my user-agent to Internet Explorer 11, I’m served the font in the WOFF format instead. Browser Caching. Another built-in optimization of Google Fonts is browser caching. The Google Fonts browser cache is set to expire after one year unless the cache is cleared sooner. — FAQ, Google Fonts.

Google 111
article thumbnail

Using SWR React Hooks With Next.js’ Incremental Static Regeneration (ISR)

Smashing Magazine

The solution used in Scrapbook was to use the SWR library of React hooks to update the cached page from the server with client side data fetching. The client is first served the cached statically generated page (generated with getStaticProps() ), in the background the server also begins the process of revalidating that page (read more here ).

Cache 102