Does the Traffic Manager support Edge Side Includes - e.g. similar to Varnish example here: http://css.dzone.com/articles/edge-side-includes-varnish-10 ? If not, is there a plan to support ESI ?
thanks for letting us know. Is there a plan to get this in yet ? If not, please could we open a feature request for this to be added to the STM ?
Ofcourse, if you don't really care about the specific xml syntax that comes with ESI, but just want to replace a tag with specific content from elsewhere (either kept on the traffic manager or elsewhere), you can always just insert for instance a HTML comment and replace that with whatever it is you want to put there. In essence that would cover 95% usage of the actual ESIfunctionality.
This concept is nicely illustrated in the following article+code:
<a target="_self" href="https://community.brocade.com/t5/Code-Samples/Using-TrafficScript-to-add-a-Twitter-feed-to-your-web-site/m-p/24992/highlight/true#M60">Using traffic script to add a twitter feed to your web site</a>
A specific tag is defined, which you then need to include in your page. In turn, traffic manager inserts the twitter feed for you.
If you would like to include something from a url that's specified in the original document, consider using the traffic script http.request.get() to make that happen.