Playmanifest cache control

when getting a m3u8 manifest using this URL:
http://domain.com/p/101/sp/10100/playManifest/entryId/0_fdgfilop/format/applehttp/protocol/http/master.m3u8

the cache-control header is:
Cache-Control: private, max-age=60, max-stale=0

where can I change that?

Hello,

The default value is set here:

Then, in


there is an attempt to read an alternative value from app/configurations/local.ini.
The value is controlled per partner ID so in local.ini, assuming youtr partner ID is 101, you can add:

[v3cache_headers_expiry]
101 = 300

After reloading the Apache, the change should take affect and the value will be 300 instead of 60.

Thank you very much,

very helpful.

By the way,

Is it possible to have different cache responses for different http status codes?

Maybe different cache response for 404 erros than to 302,200 codes?

Hi @benny_1,

Sorry but I’m afraid that’s not supported in the current code.