Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

browser caching #2

Open
dodo opened this issue May 10, 2011 · 1 comment
Open

browser caching #2

dodo opened this issue May 10, 2011 · 1 comment
Milestone

Comments

@dodo
Copy link

dodo commented May 10, 2011

it would be very useful if you could add the cache-control feature like in connect's static middleware, so when the browser have the same data like connect-cache in the cache you don't need to send the data again.

@ghost
Copy link

ghost commented Sep 20, 2011

This would be implemented by adding code to recognize the if-modified-since header and return a 304 response code instead of the cached data. I'll make a pull request when I get home.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant