Skip to main content

New series: how one WordPress checkbox cost a site 7 months of Google traffic, and the full rescue in 21 lessons. Read the series

Glossary term

caching plugin

Updated Nov 19, 2026

In short

A plugin that stores ready-made copies of a site's pages, and often optimizes files, so the server can reuse them instead of rebuilding each page for every visitor.

A caching plugin speeds up a dynamically built site by saving the result of work the server has already done. On a content management system such as WordPress, each request normally runs code and database queries to assemble the page. A caching plugin stores the finished HTML after the first visit and serves that saved copy to later visitors, skipping most of the work.

Many also do extra jobs: minifying and combining CSS and JavaScript, delaying scripts, lazy loading images, compressing files and connecting to a content delivery network. Some are full optimization suites rather than simple caches. That is useful, but every feature is another way to break something, so it is safest to switch them on one at a time and test the site after each.

The main trade-off is freshness. A cached page can show old content after you edit it, so the plugin has to clear the right copies when something changes. Logged-in users, carts and checkout pages usually need to be excluded, because they show personal content. Common mistakes are running two caching plugins together, forgetting to clear the cache after a change, and judging speed from a test that hit a warm cache.

It is also a workaround rather than a cure. A cache reduces the cost of building pages on request, while static site generation removes that cost by building pages ahead of time. Hosting still matters: a crowded shared hosting plan with little memory benefits a lot from caching but cannot be fixed by it alone.

An example: a popular article is built once, then served from the saved copy to the next thousand visitors.

Related: static site generation, shared hosting, cron job