---
title: Removing headers from backend response
summary: null
url: >-
  https://www.fastly.com/documentation/guides/full-site-delivery/headers/removing-headers-from-backend-response
---

You can remove headers from any backend response. This may be necessary if your application automatically sets headers. For example, Drupal can set the following Expires and Cache-Control headers to prevent caching:

```term nolinenums
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Wed, 18 Jul 2012 18:52:16 +0000
Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0
```

To remove a header from the backend response, add a new header as follows:

1.   Log in to the [Fastly control panel](https://manage.fastly.com).

2.   From the [**Home**](https://manage.fastly.com/home) page, select the appropriate service. You can use the search box to search by ID, name, or domain.

3.   Click **Edit configuration** and then select the option to clone the active version.

4.   Click **Content**.

5. Click **Create header**.

   ![Create a new header](/img/create-a-header-remove-header.png)

6. Fill out the **Create a header** fields as follows:
   - In the **Name** field, enter a descriptive name for the header rule (e.g., `Remove Expire Headers`).
   - From the **Type** menu, select **Cache**, and from the **Action** menu, select **Delete**
   - In the **Destination** field, enter the name of the header (e.g., `http.Expires`).
   - From the **Ignore if set** menu, select **No**.
   - In the **Priority** field, enter `10`.

7. Click **Create**.

8.   From the **Activate** menu, select **Activate on Production** to deploy your configuration changes.

> **HINT:** You may also be interested in our information on [setting content type based on file extension](https://www.fastly.com/documentation/guides/full-site-delivery/headers/setting-content-type-based-on-file-extension).

## Related content

- [Header API documentation](https://www.fastly.com/documentation/reference/api/vcl-services/header/)
