Skip to content

Cache Controls & Policies

Intelligent Cache-Control headers with per-context TTLs, stale directives, and smart policies.

How It Works

Cacheability Pro sets Cache-Control response headers based on the type of content being served. This tells your reverse proxy (Varnish, Nginx, CDN) how long to cache each response.

Per-Context TTLs

Configure different cache durations for each content type:

Context Default TTL Description
Homepage 14 days Front page
Single Posts 14 days Blog posts
Pages 14 days Static pages
Archives 14 days Category, tag, date archives
Search 1 hour Search results pages
404 1 hour Not found pages
Feeds 14 days RSS/Atom feeds
WooCommerce Products 14 days Product pages
WooCommerce Categories 14 days Product category pages

Stale Directives

  • stale-while-revalidate - Serve stale content while fetching a fresh copy in the background. Eliminates cache miss latency for visitors.
  • stale-if-error - Serve stale content if the origin server is down. Keeps your site available during outages.

Pagination Boost

Deeper paginated pages (page 2, 3, etc.) get progressively longer TTLs. This is because deeper pages change less frequently and receive less traffic, so longer caching is safe and reduces origin load.

Scheduled Post TTL Reduction

When a post is scheduled for future publication, Cacheability Pro automatically reduces TTLs on affected archive pages so the new post appears promptly when published.

Redirect Caching

Cache 301 and 308 redirects with configurable TTLs. This reduces origin requests for permanent redirects.

Age Multiplier

Older posts get progressively longer cache TTLs since their content is less likely to change.