Prebaked
Docs

Cache freshness, recache and warming

Last reviewed

Prebaked refreshes a cached page when a crawler asks for it after the freshness interval has passed: the crawler gets the cached copy at once and the page is rendered again in the background. On Growth and Pro you can also recache pages or warm the cache from your sitemap.

Set the freshness interval

  1. Open the domain and go to Settings.
  2. Under Cache settings, set Freshness (hours).
  3. Save.

The default is 24 hours. The fastest allowed value depends on your plan: 24 hours on Starter and the trial, 12 hours on Growth and 3 hours on Pro. A faster refresh uses more renders from your fair use limit.

Recache pages after a change (Growth and Pro)

  • Dashboard: open the domain's Pages list, tick the pages and press Recache selected, or press Recache on one row.
  • API: send up to 1,000 URLs at a time:
curl -X POST https://service.prebaked.io/recache \
  -H "X-Prerender-Token: $PREBAKED_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://www.example.com/pricing"]}'

The answer lists how many URLs were queued and which were rejected, with a reason.

Warm the cache from your sitemap (Growth and Pro)

  1. In Settings, enter your Sitemap URL for warming and save.
  2. On the domain's overview, press Warm from sitemap.

Or call POST https://service.prebaked.io/warm with the body {"sitemap": "<sitemap URL>"} and your token. A sitemap index is followed one level deep, with at most 50 sitemap files. The number of URLs is capped by your remaining fair use renders.

The recache and warm API calls are limited to 10 requests a minute per token.

What it costs

Recache and warm renders use your fair use renders like any other render. A warmed page counts toward your page limit once a crawler requests it. See what counts as a page.

FAQ

How often does Prebaked refresh my pages?

When a crawler asks for a page older than your freshness interval. The default is 24 hours; Growth can go down to 12 hours and Pro to 3 hours.

Does a crawler wait while a page is refreshed?

No. It gets the cached copy right away, and the new render replaces it for the next crawler.

I changed my page. How do I update the cached copy now?

On Growth or Pro, recache the page from the Pages list or with the recache API. On Starter, the page refreshes on the next crawler request after the freshness interval.

Why is the Recache button disabled?

Recache and sitemap warming are part of the Growth and Pro plans. On Starter and the trial they are shown but disabled.

What does Strip scripts do?

It removes script tags from the rendered HTML. JSON-LD structured data is always kept. It is off by default.