Better HN
topnewbestaskshowjobs
Log inSign up

esbcupper

3 karma · joined Jan 20, 2011 (15y ago) · 2 submissions

Submissions

comment 15y ago · link · parent

Instead of having concurrent requests wait for the single request to the backend it's almost always better to use stale-while-revalidate (http://tools.ietf.org/html/draft-nottingham-http-stale-while...). AFAIK both varnish and squid support this.

comment 15y ago · link · parent

Filo's BSD hack to buffer the entire HTTP request and then pass it on has the same effect as using nginx here.

It doesn't help with keepalive though, but that's probably not needed.