Browser caching, explained
The server controls this with headers, mainly Cache-Control. It tells the browser how long a file can be reused before it has to check for a new copy.
The usual pattern is a long cache for files with a version or hash in the name, such as main.a1b2.css. When the file changes, its name changes, so visitors always get the new one.
HTML is usually cached for a short time or checked each visit, so visitors get new content quickly. A long cache on HTML is a common cause of people seeing old pages.
It helps repeat visits and later pages, not a brand new visitor's first load. For that, you need small files and a nearby CDN too.



