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
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 ).

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 Protect Your API Key In Production With Next.js API Route

Smashing Magazine

That’s why we need to use our keys at server-side when we’re writing our API calls. It saves you the stress of hard hard-coding your independent routes. When you run the command below, it starts up a development server and the contents of index.js The Server-Side API Call. Practical Usage Of The Server-Side API Function.

Servers 131
article thumbnail

Measuring Performance With Server Timing

Smashing Magazine

Measuring Performance With Server Timing. Measuring Performance With Server Timing. That issue is slow server response times. There’s very little browser optimisations can do to improve a page that is simply slow to build on the server. Encompassed in that wait time is everything the server needs to do to build the page.

Servers 87
article thumbnail

Next.js Wildcard Subdomains

Smashing Magazine

We’ll be focusing on three places where you can get the wildcard: Server Side In getServerSideProps , Client Side With useEffect , Server Side On API Routes And Edge Functions. Server Side In getServerSideProps. Server Side On API Routes And Edge Functions. Building With Wildcards. More after jump! Jump to the workshop ?.

Servers 84
article thumbnail

40+ Best Web Development Blogs of 2018

KeyCDN

It also includes a handy CSS reference, a web development experiment playground, tutorials, blueprints to get started from and Collective - a digital design magazine that makes it easy to keep up with trends. Check out the Almanac for CSS property and selector-specific insights, or dive straight into the Snippets to grab some reusable code.

article thumbnail

World’s Top Web Performance Leaders To Watch

Rigor

Rachel is the Editor-in-Chief of Smashing Magazine, a British web developer, writer, and speaker. Vitaly is a co-founder of the Smashing Magazine brand. He served as the Editor-in-Chief of Smashing Magazine until October 2017 when he passed the baton to the remarkable Rachel Andrew. The future of HTTP/2 server push.