---
title: How Prerender.io caching works
description: Learn how Prerender caches rendered pages, what cache hits and misses mean, and how to reduce cache misses to improve AI crawler response times.
---

[Skip to content](https://docs.prerender.io/docs/how-prerender-caching-works#main-content)

![prerender-logo](https://docs.prerender.io/hs-fs/hubfs/logo.png?width=100&height=75&name=logo.png)

Open main navigation

Close main navigation

- [Contact us](mailto:support@prerender.io)

[Contact us](mailto:support@prerender.io)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Knowledge Base - Prerender.io](https://docs.prerender.io/docs?hsLang=en)
2. [How Prerender.io works](https://docs.prerender.io/docs/how-prerender-io-works?hsLang=en)

May 25, 2026

# How Prerender.io caching works

## From the first uncached request to instant subsequent responses — how Prerender.io stores and serves rendered pages to AI crawlers and search engines.

**TL;DR**

Prerender.io renders and caches a page the first time an AI crawler or search engine requests it — this first request is called a cache miss and takes a moment longer to serve. Every subsequent request for the same URL is served instantly from the cache — this is a cache hit. Pages are only cached when your server returns a `200` status code; non-200 responses (`301`, `302`, `404`) are served to the crawler but not stored.

---

### What gets cached — and what doesn't

When an AI crawler or search engine requests a URL that isn't yet in the cache, Prerender.io renders the page on the fly and serves it immediately.

Whether Prerender.io then stores that rendered page depends on the HTTP status code your server returns:

- **`200` status code** — Prerender.io caches the rendered page. Future requests for that URL are served instantly.
- **Non-200 status codes** (`301`, `302`, `404`, and others) — Prerender.io serves the response to the crawler but does not cache it. The next request will trigger a fresh render.

![cache-hit-cache-miss](https://docs.prerender.io/hs-fs/hubfs/image-1703156498631.png?width=670&height=197&name=image-1703156498631.png)

---

### Cache hits and cache misses

The first time Prerender.io renders and stores a page, that request is a **cache miss** — the page wasn't in the cache yet, so Prerender.io had to render it. This takes a moment longer than a cached response.

Every request after that is a **cache hit** — Prerender.io serves the stored HTML instantly, with no rendering delay.

The goal is to have as many cache hits as possible. A high cache miss rate means AI crawlers and search engines are frequently waiting for pages to render on the fly.

---

### How to reduce cache misses

If you're seeing a high volume of cache misses, there are three approaches to address it.

**Add a sitemap**

A sitemap tells Prerender.io which URLs exist on your site, allowing it to pre-render pages before AI crawlers request them. This converts what would have been cache misses into cache hits. See [How to use Prerender.io's sitemap](https://docs.prerender.io/docs/sitemap?hsLang=en) for setup instructions.

**Ensure your server returns `200` for pages you want cached**

Only pages with a `200` response are stored in the cache. If your server is returning non-200 codes for pages you expect to be cached, investigate your server configuration — a `404` or redirect on a page that should be live will never accumulate cache hits.

**Use the Recache API to cache pages proactively**

The Recache API lets you trigger renders and cache pages before AI crawlers request them. This is useful for high-priority pages or after publishing new content. See [What can I do with the Prerender.io REST API?](https://docs.prerender.io/docs/6-api?hsLang=en) for details.

---

💬 **Still need help?**  
If you have questions about caching behaviour or cache miss rates in your account, our support team can help.  
→ Contact us at `support@prerender.io`

---

### Related articles

- [How Prerender.io works](https://docs.prerender.io/docs/how-does-prerender-work?hsLang=en)
- [What should I do if some pages are not getting cached?](https://docs.prerender.io/docs/some-pages-are-not-getting-cached?hsLang=en)
- [How to use Prerender.io's sitemap](https://docs.prerender.io/docs/sitemap?hsLang=en)
- [What can I do with the Prerender.io REST API?](https://docs.prerender.io/docs/6-api?hsLang=en)

- [How Prerender.io works](https://docs.prerender.io/docs/how-prerender-io-works?hsLang=en)
- [Getting started](https://docs.prerender.io/docs/getting-started?hsLang=en)
- [Integrations](https://docs.prerender.io/docs/integrations?hsLang=en#main-content)

    - [Prerender.io officially maintained integration](https://docs.prerender.io/docs/integrations?hsLang=en#prerender-io-officially-maintained-integration)
    - [FAQ](https://docs.prerender.io/docs/integrations?hsLang=en#faq)
- [Get Found on AI & Search](https://docs.prerender.io/docs/get-found-on-ai-search?hsLang=en#main-content)

    - [Google Search Performance](https://docs.prerender.io/docs/get-found-on-ai-search?hsLang=en#google-search-performance)
- [Troubleshooting](https://docs.prerender.io/docs/troubleshooting?hsLang=en)
- [Billing & Account](https://docs.prerender.io/docs/billing-account?hsLang=en#main-content)

    - [Plans & Subscriptions](https://docs.prerender.io/docs/billing-account?hsLang=en#plans-subscriptions)
    - [Renders, Usage & Limits](https://docs.prerender.io/docs/billing-account?hsLang=en#renders-usage-limits)
    - [Payments & Invoices](https://docs.prerender.io/docs/billing-account?hsLang=en#payments-invoices)
    - [Account Access & Security](https://docs.prerender.io/docs/billing-account?hsLang=en#account-access-security)
- [Features](https://docs.prerender.io/docs/features?hsLang=en)

[![Chill listening crop-3](https://docs.prerender.io/hs-fs/hubfs/logo-1.png?width=24&height=24&name=logo-1.png "Chill listening crop-3")](http://prerender.io)

304 S. Jones Blvd #1205, Las Vegas, NV 89107

<https://www.twitter.com/> [mailto:support@prerender.io](mailto:support@prerender.io) <https://www.linkedin.com/company/prerender/> <https://github.com/prerender>

Copyright © 2025, Prerender.io