article thumbnail

The Three Cs: Concatenate, Compress, Cache

CSS Wizardry

I began writing this article in early July 2023 but began to feel a little underwhelmed by it and so left it unfinished. Caching them at the other end: How long should we cache files on a user’s device? in this article. What happens when we adjust our compression strategy? Cache This is the easy one.

Cache 291
article thumbnail

Front-End: Cache Strategies You Should Know

DZone

Caches are very useful software components that all engineers must know. In this article, we are going to describe what is a cache and explain specific use cases focusing on the frontend and client side. What Is a Cache?

Cache 147
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

Cache-Control for Civilians

CSS Wizardry

To this end, having a solid caching strategy can make all the difference for your visitors. ?? How is your knowledge of caching and Cache-Control headers? Cache-Control. One of the most common and effective ways to manage the caching of your assets is via the Cache-Control HTTP header.

Cache 264
article thumbnail

Redis vs Memcached in 2024

Scalegrid

Key Takeaways Redis offers complex data structures and additional features for versatile data handling, while Memcached excels in simplicity with a fast, multi-threaded architecture for basic caching needs. Redis is better suited for complex data models, and Memcached is better suited for high-throughput, string-based caching scenarios.

Cache 130
article thumbnail

Fundamentals of Table Expressions, Part 12 – Inline Table-Valued Functions

SQL Performance

This article is the twelfth part in a series about named table expressions. I also compare them with stored procedures, mainly focusing on differences in terms of default optimization strategy, and plan caching and reuse behavior. In my examples I’ll use a sample database called TSQLV5. iTVFs vs. Stored Procedures.

Cache 144
article thumbnail

Self-Host Your Static Assets

CSS Wizardry

A classic example is jQuery, that we might link to like so: There are a number of perceived benefits to doing this, but my aim later in this article is to either debunk these claims, or show how other costs vastly outweigh them. Users might already have the file cached. Penalty: Caching. Myth: Cross-Domain Caching.

Cache 274
article thumbnail

WaterBear: Building A Free Platform For Impactful Documentaries (Part 2)

Smashing Magazine

In this second article, I’ll go over some key technical highlights from the project. In the first article, I briefly discussed the technical stack that includes a React-based front-end framework, Next.js Definitely read up on the strategy and reasoning behind this stack in the first article if you missed it.

Cache 73