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 <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/F9373170-E98B-4534-B954-340C095C215F%40googlemail.com. For more options, visit https://groups.google.com/d/optout.
