---
title: "Scanning Large Sites"
description: "Scanning Large Sites for the Unlighthouse v1 beta."
canonical_url: "https://unlighthouse.dev/v1/guide/recipes/large-sites"
---

> Index of every page on this site: [llms.txt](https://unlighthouse.dev/llms.txt)

Bound the scan or select representative routes before auditing a large site.

## Set a route limit

```ts
import { defineUnlighthouseConfig } from 'unlighthouse/config'

export default defineUnlighthouseConfig({
  site: 'https://example.com',
  scanner: { maxRoutes: 100, exclude: ['/admin/*', '/api/*'] },
})
```

## Select representative routes

```ts
import { defineUnlighthouseConfig } from 'unlighthouse/config'

export default defineUnlighthouseConfig({
  site: 'https://example.com',
  urls: ['/', '/blog/example', '/products/example'],
})
```

Explicit URLs stop link following.
Legacy dynamic sampling and custom sampling do not control the v1 scan pipeline.

## Name route templates

Use [Route Definitions](https://unlighthouse.dev/guide/guides/route-definitions) to match concrete URLs to framework page templates.
Templates do not replace the concrete URLs needed for dynamic pages.

## Keep performance measurements reliable

Use `scanner.perfConcurrency: 'serial'` when comparing performance scores.
Increase `scanner.samples` when you need repeated audits, within the supported limit of 10.
See [Improving Accuracy](https://unlighthouse.dev/guide/recipes/improving-accuracy).

## Sitemap

See the full [sitemap](https://unlighthouse.dev/sitemap.md) for all pages.
