Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

add last-modified http header #26

Closed
jankeromnes opened this Issue · 2 comments

2 participants

@jankeromnes
Collaborator

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.

@espadrine
Owner

100% agreed.

@jankeromnes
Collaborator

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
Something went wrong with that request. Please try again.