Problem this snippet solves: This iRule sets caching headers Expires and Cache-Control on the response. Mostly the use case will be to set client-side caching of static resources as images, styleshee...
Hi,
Good job. For my use case I found a few problems with this rule.
1. When you have double extensions (like file.xml.md5) it's not working. The "set period" section needs to be removed.
2. In HTTP_RESPONSE is good to add a check if we have mime type in the datagroup otherwise it will overwrite expire_content_timeout with "".
Let me know if you want to see my tuned rule