10-22-2012 09:53 AM
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 ?
10-29-2012 02:15 AM
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="/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.