performance
What Is Caching? Browser, Server, and CDN Caching Explained
Published 2026-09-09 · 3 min read
What Caching Actually Solves
Generating a web page from scratch, running database queries, assembling content, applying templates, takes real server time and resources. If every single visitor triggered that full process, a popular page would put far more load on a server than necessary, since the vast majority of requests for the same page produce an identical result. CachingStoring a copy of data or a page so it can be served faster next time instead of being regenerated. stores a ready-made copy of that result so it can be served instantly instead of rebuilt every time.
Browser Caching
When a browser downloads a file, an image, a stylesheet, a script, it can store a local copy according to instructions the server sends along with it. The next time that visitor requests the same file, the browser serves it from its own local cacheA temporary store of already-fetched data, kept so it can be reused quickly instead of fetched again. instead of downloading it again, which is why a second visit to a site usually feels noticeably faster than the first.
Server-Side Caching
On the server, caching stores a ready-made version of a page or a database query result, so the underlying application doesn't need to regenerate it for every single visitor. On WordPress specifically, this is usually handled by a dedicated caching plugin, or increasingly by the web server itself; LiteSpeed's built-in caching is a common example on cPanelA popular web-hosting control panel for managing sites, email, databases, and files through the browser. hosting. See Apache vs. Nginx vs. LiteSpeed for how the web server layer relates to this.
CDN Caching
A CDNA Content Delivery Network — a spread-out set of servers that cache your site closer to visitors for speed. adds another caching layer on top, storing copies of static content across servers in multiple locations, so a visitor is served from whichever copy is physically closest to them. It solves a related but distinct problem: not just avoiding regeneration, but also shortening the physical distance data has to travel. See What Is a CDN? for the fuller comparison between the two.
Why Your Changes Sometimes Don't Show Up Right Away
This is the most common practical frustration caching causes: you publish a change, refresh the page, and see the old version anyway. The cause is almost always a cached copy, at the browser, a caching plugin, or a CDN, still being served because it hasn't expired or been cleared yet. It's rarely a sign the change itself failed to save.
Caching vs. DNS Propagation: Not the Same Thing
These two get confused constantly because both produce the same symptom: "I made a change and it's not showing up everywhere yet." But they're different mechanisms. Caching affects how quickly a published content change appears, at the page or file level. DNS propagationThe delay while an updated DNS record spreads to servers worldwide, so a change isn't visible everywhere at once. affects how quickly a domain-level change, like switching to a new host entirely, is recognized across the internet. Clearing a cache won't fix a DNSThe Domain Name System — the internet's directory that translates domain names into the IP addresses of servers. propagation delay, and waiting out propagation won't fix a stale cached page. See What Is DNS Propagation? for that distinct, domain-level delay.
When and How to Clear a Cache
If a change genuinely isn't showing up, clearing the relevant cache is
the right first step: a hard refresh (often Ctrl+Shift+R or
Cmd+Shift+R) clears the browser's own cache for that page; a caching
plugin typically has its own "clear cache" button; and a CDN dashboard
usually offers a "purge cache" option for exactly this situation. Start
with whichever layer is most likely involved, a caching plugin if you
just edited a page, a CDN if you changed something site-wide, rather
than clearing everything by default.
FAQs
What is caching, in plain terms?+
Caching stores a copy of something, a page, an image, a database query result, so it can be served again quickly without regenerating it from scratch every time it's requested.
What's the difference between browser caching and server-side caching?+
Browser caching stores files on the visitor's own device, so their next visit skips downloading them again; server-side caching stores a ready-made version of a page or query on the server, so the server itself doesn't have to rebuild it from scratch on every request.
Why don't my website changes show up immediately after I publish them?+
A cached version, at the browser, server, or CDN level, may still be serving the old content until it expires or is manually cleared, which is the most common reason a published change appears delayed.
Should I clear my cache whenever something looks wrong on my site?+
It's a reasonable first troubleshooting step, since it rules out a stale cached copy immediately, but if clearing the cache doesn't fix it, the cause is something else and worth investigating separately.
Is caching the same thing as DNS propagation?+
No, though they're often confused because both cause a delay after a change. Caching affects how fast content loads and how quickly published changes appear; DNS propagation affects how quickly a domain-level change, like a new host, is recognized everywhere. See our guide to DNS propagation for that distinction in full.
Does WordPress use caching by default?+
Not heavily out of the box; most WordPress sites add a dedicated caching plugin, or rely on server-level caching like LiteSpeed Cache, to get meaningful performance benefits.
Related reading
Reseller Hosting Explained: Should You Resell Hosting Under Your Own Brand?
What reseller hosting actually is, who it makes sense for, and what running a small hosting business on top of it actually involves in Rwanda.
2026-09-13 · 3 min read
Local SEO for Rwandan Businesses: Getting Found on Google in Kigali and Beyond
A practical, no-nonsense guide to ranking locally in Rwanda: Google Business Profile, on-page basics, site speed, and where the real backlinks come from.
2026-09-13 · 3 min read
How to Choose a Domain Name for Your Business
A practical framework for picking a business domain name: length, memorability, keywords, and avoiding trademark trouble before you register.
2026-09-12 · 3 min read