nodejitsu/node-http-proxy — Issue #140: Edge Side Includes
Author: cliftonc
Created: 2011-10-25 09:44:56+00:00
State: open

http://en.wikipedia.org/wiki/Edge_Side_Includes

These are a very powerful feature in Varnish (and other reverse proxy load balancers), and I suspect that if done right could be really performant in node, if you can process them all in parallel etc.

You would need middleware that parses a response, and then replaces the ESI tags (as the ESI tags are provided by the back end server you are proxying) on the way through back to the user.

Will dig into how to do this as middleware, but wanted to add a feature request as this would be useful for me.