Remove Availability Remove Best Practices Remove Code Remove Magazine
article thumbnail

Improving JavaScript Bundle Performance With Code-Splitting

Smashing Magazine

Improving JavaScript Bundle Performance With Code-Splitting. Improving JavaScript Bundle Performance With Code-Splitting. It’s a common misconception that the code which is produced by the framework build tools (Webpack, for example) is fully optimized and cannot be improved upon any further. The answer lies in code-splitting.

Code 89
article thumbnail

Signals For Customizing Website User Experience

Smashing Magazine

That user preference is available in two (hopefully soon to be three!) This is available behind a flag in Chrome, but not yet on by default while it finishes standardization. Approximately two-thirds of Indian mobile Chrome users of Smashing Magazine have this setting turned on, for example. Save Data API. And Is It Used?

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

Next.js Wildcard Subdomains

Smashing Magazine

With 100s of real-life examples , guidelines and best practices that you can apply right away. In code, that looks like this: export async function getServerSideProps(context) { let wildcard = context.req.headers.host.split(".")[0]; More after jump! From complex mega-dropdowns to carousels and filters. Online, and live.

Servers 83
article thumbnail

Gone Floating Labels And Green Lighthouse Scores

Smashing Magazine

We then adjusted our build to generate base64-strings for AVIF files automatically during the build time (if author images are available as AVIF images). With wonderful attendees from all over the world coming together to learn together, so many ideas have been brought to life — especially in the live design and coding sessions.

Mobile 140
article thumbnail

The Fight For The Main Thread

Smashing Magazine

You know, have a plan for it and write code that’s mindful about adding extra weight to the page. But not everything about performance happens directly at the code level, right? I’d say many — if not most — sites and apps rely on some number of third-party scripts where we might not have any influence over the code.

Google 90
article thumbnail

Implementing A Reset Password Feature With Next.js Dynamic Routes

Smashing Magazine

A lot of people even dread the “reset-password” page because, come to think of it, after spending a lot of time trying to guess their passwords — all to no avail — they’re either frustrated or angry as they land on this particular page. Further Reading On Smashing Magazine. “ More after jump! Final Thoughts.

article thumbnail

Performance Game Changer: Browser Back/Forward Cache

Smashing Magazine

400 pages , jam-packed with in-depth user research and best practices. You can see the complete list of reasons for the Chrome source code , with a bit more explanation in this sheet. Third-party scripts might be making your page ineligible, even if you don’t use those features directly in your code. Large preview ).

Cache 91