---
title: Normalize requests to increase cache efficiency
summary: Improve cache performance by normalizing requests. Filter and reorder query params, convert to lowercase, filter headers, and more.
url: https://www.fastly.com/documentation/solutions/examples/normalize-requests
---

Improve cache performance by normalizing requests. Filter and reorder query params, convert to lowercase, filter headers, and more.

## VCL

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/ecf9fa4a)

## Compute

### Rust

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/59e8c9cc)

### Javascript

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/32d2181e)

### Go

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/b8a4a5f0)

