Sunday, May 9Digital Marketing Journals

The Server Side

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