# Firefox not respecting custom headers set

**URL:** <https://answers.netlify.com/t/firefox-not-respecting-custom-headers-set/8694>\
**Category:** Support\
**Tags:** netlify-cdn-adn\
**Created:** [February 10, 2020, 4:06am UTC](https://answers.netlify.com/t/firefox-not-respecting-custom-headers-set/8694 "2020-02-10T04:06:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbillington](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/tbillington/32/5607_2.png) [@tbillington](https://answers.netlify.com/u/tbillington)\
**Post date:** [February 10, 2020, 4:06am UTC](https://answers.netlify.com/t/firefox-not-respecting-custom-headers-set/8694/1 "2020-02-10T04:06:03Z")

</div>

I have the following headers set

```
/media/*
  Cache-Control: public, max-age=604800

/static/*
  Cache-Control: public, max-age=604800

```

When visiting my site in Chrome & Safari the appropriate headers are used in the response for the assets under these directories.

However, in Firefox (72, macOS), they are not respected and instead for some reason Netlify servers are returning `cache-control public, max-age=0, must-revalidate` for these assets.

The request headers being sent are

```
Host: sciencepresence.netlify.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:72.0) Gecko/20100101 Firefox/72.0
Accept: text/css,*/*;q=0.1
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://sciencepresence.netlify.com/person/dominic-dagostino
Connection: keep-alive
If-None-Match: "84a2631a5a1a24f6b03bf9fb2b5b2f7a-ssl-df"
TE: Trailers
```

---

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [February 11, 2020, 12:42am UTC](https://answers.netlify.com/t/firefox-not-respecting-custom-headers-set/8694/2 "2020-02-11T00:42:30Z")

</div>

hi there, thanks for letting us know about this.

Could you provide us with the `x-nf-request-id` for this, please? then we can pinpoint.

> [@\[Support Guide\] Netlify Support asked for the 'x-nf-request-id' header? What is it and how do I find it?](https://answers.netlify.com/t/common-issue-netlify-support-asked-for-the-x-nf-request-id-header-why-are-they-asking-for-it-and-how-do-i-find-it/4385):
>
> Last reviewed by Netlify Support in July 2025 What is the x-nf-request-id header? Web servers and web browsers communicate using a protocol called HTTP - which stands for “HyperText Transfer Protocol”. Both web browsers and web servers use a feature called headers as part of this protocol. The headers that web browsers send are called “request headers” because the browser in making an “HTTP request”. The web servers headers are called “response headers” because web servers send an “HTTP respo…
