add last-modified http header #26

jankeromnes opened this Issue Jul 3, 2012 · 2 comments

2 participants


This would be useful for static file servers, so that browsers could use their caching algorithms. With a programmatic access this would also be useful in thefiletree, so that browsers (and android apps for that matter) can also cache files there.


100% agreed.


This is the technique used in #22 to leverage browser caching. Reminder:

ask.res.setHeader('Last-Modified', new Date().toGMTString());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment