# HAMUR_W2025: A route rule's cache-control is ignored on a page with a CSP nonce

A route rule's cache-control is ignored on a page with a CSP nonce. Warning `HAMUR_W2025` belongs to `hamur`, server (2001 – 2999).

## Message

```text
HAMUR_W2025 Route rule headers.cache-control is ignored on <pathname>: the page carries a CSP nonce and answers cache-control: no-store
```

## Cause

A route rule sets `headers.cache-control` for a page that carries a CSP nonce. The page answers `cache-control: no-store` and the rule is ignored.

## Fix

Remove the header from the rule, or serve the page without a nonce.
