Dan_Dumont_1403
Nimbostratus
Dec 20, 2013Rewriting cache headers before they are used by BigIp
So I have a server behind BigIp that's pretty lame about letting me set cache headers... in short: I can't. So I'd like to try to set the cache headers using an iRule but have them applied before they go through the normal cache processing that BigIp can do.
If the resource at http://server.com/foo.js?v=1 should be (it isn't, there's actually no cache-control header):
Cache-Control: max-age=31557600, public
Is it possible to create an iRule that would have the cache mechanisms currently available for caching content at the BigIp use that header, as well as apply it to any response it sends out?