cancel
Showing results for 
Search instead for 
Did you mean: 

ESI (Edge Side Includes)

aleonhardt
Occasional Contributor

ESI (Edge Side Includes)

Hi,

 

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 ? 

 

Alex

4 REPLIES 4
fmemon
Contributor

Re: ESI (Edge Side Includes)

Hi aleonhardt,

 

Unfortunately the Stingray Traffic Manager does not support ESI at this time.

 

Thanks,

Faisal

aleonhardt
Occasional Contributor

Re: ESI (Edge Side Includes)

Hi,

 

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 ? 

 

Thanks
Alex

 

antoonh
Occasional Contributor

Re: ESI (Edge Side Includes)

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.

hth,

Antoon

aleonhardt
Occasional Contributor

Re: ESI (Edge Side Includes)

Great, good to know thanks !

Alex