A cache is a temporary store of data that lets a website deliver pages and files faster by reusing copies instead of rebuilding or re-downloading them every time.
Main types of website caching:
- Page caching: the server saves a finished HTML version of each page, so it does not have to run PHP and database queries for every visitor. This often has the biggest impact on server response time.
- [[browser-caching|Browser caching]]: files are stored on the visitor’s device.
- Object caching: database query results are stored in memory with tools such as Redis.
- [[cdn|CDN]] caching: copies of files or pages are stored on servers around the world.
Caching is one of the most effective ways to improve Page Speed and Largest Contentful Paint, especially on WordPress.
Caches need clearing when content changes, which good plugins do automatically. Pages that must stay personal, such as carts, account areas and some forms, should be excluded. If an update does not appear on the live site, a stale cache is the usual reason. Caching setup is part of our technical SEO speed work.
