---
title: Remove querystring from static assets
summary: Use the new Sec-Fetch-Dest header or URL patterns to identify assets that should not allow querystrings to be part of the cache key.
url: https://www.fastly.com/documentation/solutions/examples/remove-querystring-from-static-assets
---

Use the new Sec-Fetch-Dest header or URL patterns to identify assets that should not allow querystrings to be part of the cache key.

## VCL

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

## Compute

### Rust

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

### Javascript

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

### Go

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

