iRule to force usage of Content Distribution [Modify HTML Out]
Hello,
I am still very very new at iRules, so thank you in advance for any help you can give me.
I am attemping to put an iRule in place to force the usage of our content distribution network. We have an iRule that was developed for us that searches for a specific url (www.site.com) and as long as the http path ends with jpg, jpeg, png, gif, (used in a datagroup) etc it will redirect to cdn.site.com.
I can see in the logs that the rule seems to be firing however I do not know enough about the browsers available on the market to know if all browsers will follow a redirect from an image URL.
Is it possible to modify the html output? or would that be too exaustive on the device itself?
I am not sure I can post the iRule code as it was developed during the implementation of the F5 itself, so I am not sure about licensing, etc.
Thanks again in advance for any help...