Yes to both: https://www.varnish-cache.org/docs/4.0/users-guide/vcl-example-websockets.html
http://nginx.org/en/docs/http/websocket.html -- Daniel R. <[email protected]> [http://danielr.neophi.com/] On Sat, Mar 28, 2015 at 10:46 PM, Kevin Ingwersen (Ingwie Phoenix) < [email protected]> wrote: > I am using Socket.IO over the same HTTP instance as my Express app. Does a > reverse proxy like Varnish or the NGINX method support that? > > Am 28.03.2015 um 23:01 schrieb Daniel Rinehart <[email protected]>: > > A common option to put a caching HTTP reverse proxy in front of node and > let that handle all of the caching logic. Varnish Cache and NGINX Content > Caching are popular options. > > -- Daniel R. <[email protected]> [http://danielr.neophi.com/] > > On Fri, Mar 27, 2015 at 9:15 AM, Kevin Ingwersen (Ingwie Phoenix) < > [email protected]> wrote: > >> Hey everyone! >> >> My current project is based on using Express - or connect, still trying >> out which is better… - and serves a good amount of static files that are >> likely to not change in a long time during production. >> >> But the current cache-hell that I have is pretty … ugly. I mean, just >> look at this: >> >> http://git.ingwie.me/ingwie/bird3/blob/master/lib/request_handler.js#L59 >> >> Isn’t there a MUCH easier solution than the way I chose? I want to be >> able to cache all the served images, css, js and oj scripts in the >> browser…but how can I do it „right“? This just looks like a big mess to me >> really... >> > > > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/E5360A80-C924-4A15-8BDD-8664010F6685%40googlemail.com > <https://groups.google.com/d/msgid/nodejs/E5360A80-C924-4A15-8BDD-8664010F6685%40googlemail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAETDeSBFvx0nRdBqP3Zk1rQKXFU0qV4S%2BZp7nWSXA5r%2BDdPw0A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
