Friday, May 14Digital Marketing Journals

Browsers

Now THAT’S What I Call Service Worker! – A List Apart
Browsers, building website, Code, creating a website, google web designer, internet design, JavaScript, User Experience, web design, web design company, web designer, web page design, website builder, website design

Now THAT’S What I Call Service Worker! – A List Apart

The Service Worker API is the Dremel of the web platform. It offers incredibly broad utility while also yielding resiliency and better performance. If you’ve not used Service Worker yet—and you couldn’t be blamed if so, as it hasn’t seen wide adoption as of 2020—it goes something like this: Article Continues BelowOn the initial visit to a website, the browser registers what amounts to a client-side proxy powered by a comparably paltry amount of JavaScript that—like a Web Worker—runs on its own thread.After the Service Worker’s registration, you can intercept requests and decide how to respond to them in the Service Worker’s fetch() event.What you decide to do with requests you intercept is a) your call and b) depends on your website. You can rewrite requests, precache...
Part II – A List Apart
Application Development, Browsers, building website, creating a website, google web designer, internet design, JavaScript, web design, web design company, web designer, web page design, website builder, website design

Part II – A List Apart

You and the rest of the dev team lobbied enthusiastically for a total re-architecture of the company’s aging website. Your pleas were heard by management—even up to the C-suite—who gave the green light. Elated, you and the team started working with the design, copy, and IA teams. Before long, you were banging out new code. Article Continues BelowIt started out innocently enough with an npm install here and an npm install there. Before you knew it, though, you were installing production dependencies like an undergrad doing keg stands without a care for the morning after.Then you launched.Unlike the aftermath of most copious boozings, the agony didn’t start the morning after. Oh, no. It came months later in the ghastly form of low-grade nausea and headache of produc...
Caching Strategies in the Age of PWAs – A List Apart
Browsers, building website, Code, creating a website, google web designer, internet design, responsive web design, The Server Side, web design, web design company, web designer, web page design, website builder, website design

Caching Strategies in the Age of PWAs – A List Apart

Once upon a time, we relied on browsers to handle caching for us; as developers in those days, we had very little control. But then came Progressive Web Apps (PWAs), Service Workers, and the Cache API—and suddenly we have expansive power over what gets put in the cache and how it gets put there. We can now cache everything we want to… and therein lies a potential problem. Article Continues BelowMedia files—especially images—make up the bulk of average page weight these days, and it’s getting worse. In order to improve performance, it’s tempting to cache as much of this content as possible, but should we? In most cases, no. Even with all this newfangled technology at our fingertips, great performance still hinges on a simple rule: request only what you need and make each r...