Caching
Everything on SkillVeris tagged Caching — collected across the glossary, study notes, blog, and cheat sheets.
71 resources across 2 libraries
Study Notes(17)
Caching in Web Forms
Learn how output caching, fragment caching, and the Cache API reduce database and rendering load in Classic ASP.NET Web Forms applications.
Caching Strategies: In-Memory and Distributed
How to use IMemoryCache and IDistributedCache in ASP.NET Core to reduce database load, and how to choose between them.
Caching and Persistence
When and how to cache a Spark DataFrame to avoid recomputation, the tradeoffs between storage levels, and the pitfalls of over-caching or forgetting to unpersi…
Query Performance and Caching
Explore Snowflake's layered caching model, including result cache, local disk cache, and metadata cache, and how each speeds up repeated queries.
Nginx Caching Explained
How Nginx's proxy_cache module stores upstream responses to cut backend load and speed up delivery, and how to configure, key, and invalidate that cache correc…
Caching in Django
Explore Django's caching framework, from per-view and template-fragment caching to the low-level cache API and choosing a cache backend like Redis.
Caching in Next.js
A tour of the four caching mechanisms in the Next.js App Router — Request Memoization, the Data Cache, the Full Route Cache, and the Router Cache — and how the…
Caching Strategies with Redis
A practical guide to the core caching patterns — cache-aside, write-through, and write-behind — used to speed up applications with Redis, plus how to pick sane…
Redis Use Cases
A tour of the most common production use cases for Redis: caching, session storage, real-time leaderboards, rate limiting, and pub/sub messaging.
GraphQL vs REST
A practical comparison of GraphQL and REST across data fetching, versioning, and caching, and when to choose each.
Caching Strategies
Compare cache-aside, write-through, and write-behind caching patterns and their consistency and latency tradeoffs.
Image Layers and Build Caching
How Docker's layered filesystem and build cache work, and how to order Dockerfile instructions to maximize cache hits and minimize image size.
Caching and Build Artifacts
Learn how CI/CD pipelines speed up builds with dependency caching and pass data between jobs using artifacts, and where each technique fits.
CDN Caching and Edge Computing
Covers how Content Delivery Networks cache content close to users to cut latency, and how edge computing extends this to running logic near the request origin.
Why Caching Matters
Explains the core motivation for caching in system design — reducing latency and load by storing frequently accessed data closer to where it's needed.
Computed Caching and Performance
Explains how Vue's computed properties memoize their results based on reactive dependencies, and how to use that caching behavior deliberately to avoid wastefu…
Computed Properties
How Vue's computed() function derives cached, reactive values from other state, and why it's preferred over methods for derived data in templates.
Interview Questions(54)
What is a Materialized View?
A materialized view is a database object that stores the physical result of a query on disk, unlike a regular view which recomputes its result every time it is…
What is a Key-Value Store and When Should You Use One?
A key-value store is the simplest NoSQL model: every item is an opaque value retrieved by a unique key, with no required schema and no built-in support for que…
What Data Structures Does Redis Support and When to Use Them?
Redis is an in-memory key-value store whose values can be rich data structures — strings, hashes, lists, sets, sorted sets, and streams — each offering differe…
What is the Cache-Aside (Lazy-Loading) Caching Pattern?
Cache-aside is a caching pattern where the application code itself checks the cache first, and on a miss reads from the database, populates the cache with that…
Write-Through vs Write-Back Cache: What is the Difference?
A write-through cache writes to the cache and the underlying database synchronously as one operation before confirming success, while a write-back (write-behin…
What are the Main Cache Invalidation Strategies?
Cache invalidation removes or refreshes stale cached data using three common strategies: TTL-based expiration (entries auto-expire after a fixed time), explici…
Redis as a Cache vs a Primary Data Store: What Changes?
Using Redis as a cache means treating it as disposable, rebuildable-from-source data that the application never needs to survive as its only copy, whereas usin…
What are the Trade-offs of Caching Database Query Results?
Caching query results trades a risk of serving stale data and added system complexity for dramatically lower read latency and reduced load on the database, and…
What is Memoization?
Memoization is an optimization technique that caches the results of expensive function calls keyed by their arguments, so repeated calls with the same inputs r…
How Would You Design an LRU Cache?
An LRU (Least Recently Used) cache is designed by combining a hash map for O(1) key lookup with a doubly linked list that keeps items ordered by recency, so th…
What is a Bloom Filter?
A Bloom filter is a space-efficient probabilistic data structure that tests whether an element is possibly in a set or definitely not in a set, using a bit arr…
What is a Splay Tree?
A splay tree is a self-adjusting binary search tree that moves any node accessed — via search, insert, or delete — to the root using a sequence of rotations ca…
How Would You Build Autocomplete Using a Trie?
You build autocomplete by inserting every candidate string into a trie character by character, then for a typed prefix you walk the trie to the node matching t…
Tabulation vs Memoization: How Do They Differ in Dynamic Programming?
Memoization is the technique of caching results of a recursive function call so repeated calls with the same arguments return instantly, while tabulation is th…
How Does DNS Work?
DNS (Domain Name System) is the internet’s phonebook: it translates human-readable domain names like example.com into the IP addresses machines use to connect,…
What is a Proxy Server?
A proxy server is an intermediary that sits between a client and the destination server, forwarding requests and responses on the client’s behalf while optiona…
HTTP Headers Explained: Key Types and Uses
HTTP headers are key-value metadata sent alongside a request or response that control behavior without touching the body — covering content negotiation (Accept…
What is HTTP Content Negotiation?
HTTP content negotiation is the process by which a client and server agree on the best representation of a resource to return — such as its format, language, o…
What is a CDN Edge Node?
A CDN edge node is a server in a content delivery network positioned geographically close to end users that caches and serves content locally, so requests are…
What is Caching in System Design?
Caching is storing copies of frequently accessed data in a fast, temporary layer so future requests are served from it instead of the slower original source, r…
What is a CDN (Content Delivery Network)?
A CDN (Content Delivery Network) is a geographically distributed network of edge servers that cache and serve content from a location close to each user, reduc…
What is a Reverse Proxy?
A reverse proxy is a server that sits in front of one or more backend servers and forwards client requests to them, returning the response back to the client a…
How to Design a URL Shortener?
A URL shortener maps a long URL to a short unique code by generating a base62 identifier (via a counter, hash, or random string), storing the mapping in a key-…
Write-Through vs Write-Back Cache: What is the Difference?
Write-through caching writes to the cache and the underlying database synchronously on every write, trading extra write latency for strong consistency, while w…
Showing 24 of 54.