vADC Forum

Reply
Occasional Contributor
Posts: 5
Registered: ‎11-30-2012

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

Contributor
Posts: 82
Registered: ‎11-29-2012

Re: ESI (Edge Side Includes)

Hi aleonhardt,

 

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

 

Thanks,

Faisal

Occasional Contributor
Posts: 5
Registered: ‎11-30-2012

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

 

Brocadian
Posts: 15
Registered: ‎11-29-2012

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="/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

Occasional Contributor
Posts: 5
Registered: ‎11-30-2012

Re: ESI (Edge Side Includes)

Great, good to know thanks !

Alex

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.