# HTTP Origin and Cache-Control at wowza responses

**URL:** <https://community.wowza.com/t/http-origin-and-cache-control-at-wowza-responses/459>\
**Category:** Wowza Streaming Engine\
**Created:** [June 12, 2013, 1:49pm UTC](https://community.wowza.com/t/http-origin-and-cache-control-at-wowza-responses/459 "2013-06-12T13:49:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [June 12, 2013, 1:49pm UTC](https://community.wowza.com/t/http-origin-and-cache-control-at-wowza-responses/459/1 "2013-06-12T13:49:16Z")

</div>

Hi, I want to use wowza 3.6.2 as HTTP origin for all http segmented protocols, specially for live streaming.

I would use a 3rd party CDN http cache infrastructure for it.

However I have some doubts I need to solve to obtain the expected behaviour.

The doubs are the following:

- I want to bypass proxy-caches when downloading the playlist files, because of their dynamic content, and because I want to build a module able to get the forwared ip as my real connected client from the header of the reverse-proxy requests to wowza.

For ensuring this behaviour, what is best suited value for Cache-control at wowza responses ?

max-age=1 ? max-age=0 ? no-cache ? private ?

- I want media files to be served from the proxy-caches when available, because of their static content, and settle a TTL of no more than 100 seconds (no need to store it longer for a livestream).

Is max-age=100 a good value for Cache-control ?

Thanks in advance for your valuable help.

Best regards,

BH

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 17, 2013, 10:26pm UTC](https://community.wowza.com/t/http-origin-and-cache-control-at-wowza-responses/459/2 "2013-06-17T22:26:28Z")

</div>

BH,

Here is some info:

For what you want to accomplish the playlist cache control header should be no-cache. That should instruct the proxy to always get the content from the source. Of course this assumes the proxy server is behaving correctly.

For the media chunks a time to live of 100 should be fine. Yes just set max-age=100. That should work fine.

-rl
