# Démarrage rapide — Documentation CacheBoost

> Préchauffez votre cache en 5 minutes.

Source: https://www.cache-boost.com/fr/support/getting-started/quickstart.md
Language: fr

---



Register a site, add a sitemap, create a boost, and trigger your first run in 5 minutes.

## Prerequisites

- An API key with `sites:write`, `boosts:write`, and `runs:read` scopes
- A domain you control

## Step 1 — Register your site

```bash
curl -X POST https://api.cache-boost.com/v1/sites \
  -H "Authorization: Bearer cb_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain": "www.example.com"}'
```

The response includes a `validation_token`. Add it to your server before proceeding.

## Step 2 — Allow CacheBoost traffic

CacheBoost sends the `X-CacheBoost-Token` header on every warm-up request. If your site has a WAF, CDN, or rate limiter, create a rule that allows requests carrying this header.

Find your token in the dashboard under **My Sites** → key icon. See: https://www.cache-boost.com/support/guides/allow-traffic

## Step 3 — Add a sitemap

```bash
curl -X POST https://api.cache-boost.com/v1/sites/42/sitemaps \
  -H "Authorization: Bearer cb_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.example.com/sitemap.xml"}'
```

Replace `42` with your site ID from step 1. Google Shopping feeds (RSS/Atom) are also accepted.

## Step 4 — Create a boost

```bash
curl -X POST https://api.cache-boost.com/v1/sites/42/boosts \
  -H "Authorization: Bearer cb_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Full site warm", "source": "sitemap", "concurrency": 3}'
```

## Step 5 — Run the boost

```bash
curl -X POST https://api.cache-boost.com/v1/sites/42/boosts/1/run \
  -H "Authorization: Bearer cb_live_YOUR_KEY"
```

The response includes a `run_id`. Poll `GET /v1/runs/{runId}` to check progress.

## Next steps

- Schedule a boost: https://www.cache-boost.com/support/guides/schedule-a-boost
- Automate with GitHub Actions: https://www.cache-boost.com/support/guides/automate-with-github-actions



---

**CacheBoost** — Automatic cache warming for faster websites.

- Website: https://www.cache-boost.com
- Full content (all pages): https://www.cache-boost.com/llms-full.txt
- LLM index: https://www.cache-boost.com/llms.txt
- Documentation: https://www.cache-boost.com/support/getting-started/introduction
- Start free: https://www.cache-boost.com/try
