# Cache Everything while ignoring query strings

import { Example, Render } from "~/components";

<Render file="page-rules-migration" product="cache" />

[Create a cache rule](/cache/how-to/cache-rules/create-dashboard/) to adjust cache level for any hostname containing `example.com`:

<Example>

- **When incoming requests match**: Custom filter expression
  - Using the Expression Builder:<br/>
    `Hostname contains "example.com"`
  - Using the Expression Editor:<br/>
    `(http.host contains "example.com")`

- **Then**:
  - **Cache eligibility**: Eligible for cache
  - **Setting**: Cache key
    - **Query string**: Ignore query string

</Example>