# HTTP Response Header for static content

**URL:** <https://discourse.nodered.org/t/http-response-header-for-static-content/84605>\
**Category:** General\
**Created:** [16 January 2024 13:05 UTC](https://discourse.nodered.org/t/http-response-header-for-static-content/84605 "2024-01-16T13:05:39Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [16 January 2024 21:16 UTC](https://discourse.nodered.org/t/http-response-header-for-static-content/84605/21 "2024-01-16T21:16:27Z")

</div>

Just use the middleware to output to console.log the `Cache-Control` and monitor what happens when you access different things. You will soon see what you need to check for.

---

<div class="post-metadata">

**Author:** ![crispy](https://avatars.discourse-cdn.com/v4/letter/c/e47774/32.png) [@crispy](https://discourse.nodered.org/u/crispy)\
**Post date:** [17 January 2024 16:02 UTC](https://discourse.nodered.org/t/http-response-header-for-static-content/84605/22 "2024-01-17T16:02:46Z")

</div>

Ah, OK, thanks for that - sounds useful for all sorts of things. I'll work on that.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [31 January 2024 16:03 UTC](https://discourse.nodered.org/t/http-response-header-for-static-content/84605/23 "2024-01-31T16:03:35Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/http-response-header-for-static-content/84605.md?page=1)
