Back to Withastro

Conflicting cache query configuration.

src/content/docs/en/reference/errors/cache-query-config-conflict.mdx

latest456 B
Original Source

import DontEditWarning from '~/components/DontEditWarning.astro'

<DontEditWarning />

query.include and query.exclude cannot be used together.

What went wrong?

The memory cache provider's query.include and query.exclude options are mutually exclusive. Use include to allowlist specific query parameters that affect the cache key, or exclude to blocklist parameters. When include is set, all other parameters are automatically ignored.