Forum Discussion
Update web page with custom script?
Hi Dana, iRules can definitely be used to either inject HTML code/script into a response from a backend server (pool member) or to reply back with that script. If the script needs to be maintained on the F5 device then it is best to upload it and store it on BIG-IP as an iFile. There is a very efficient way of performing content injection/manipulation using Stream Profiles and iRules.
Not sure if this is relevant to your case, but here is an example of an iRule which shows how a script for page load performance monitoring from Gomez Networks can be injected: https://devcentral.f5.com/codeshare/gomez-injection
Hope this helps,
Sam
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com