Remove cdn-cache-hit-ratio
article thumbnail

How I Used Brotli to Get Even Smaller CSS and JavaScript Files at CDN Scale

CSS - Tricks

In 2015, Google published a blog post announcing Brotli and released its source code on GitHub. It took a few months for major CDN players to support Brotli, but meanwhile it was seeing widespread adoption in tools, services, browsers and servers. Brotli’s beginning…. A story of disappointment. Luckily we already had that in place.

Cache 79
article thumbnail

Improving The Performance Of An Online Store (Case Study)

Smashing Magazine

And while you can usually cache the full page of an article, the same is not true of many shop pages and elements. Some are user-specific, like the shopping cart in the header or the wish list, and due to the personal nature of the data, they should never be cached. But even in the planning phases, traps await. 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

The Humble ` ` Element And Core Web Vitals

Smashing Magazine

Use CSS aspect-ratio or aspect ratio boxes to reserve space otherwise. If using 11ty for your static sites, try the 11ty high-performance blog template. Modern browsers now set the default aspect ratio of images based on an image’s width and height attributes, so it’s valuable to set them to prevent such layout shifts.

Media 145
article thumbnail

Front-End Performance Checklist 2021

Smashing Magazine

Defining The Environment Choosing a framework, baseline performance cost, Webpack, dependencies, CDN, front-end architecture, CSR, SSR, CSR + SSR, static rendering, prerendering, PRPL pattern. Estimated Input Latency tells us if we are hitting that threshold, and ideally, it should be below 50ms. To deliver an LCP in <2.5s