-
Notifications
You must be signed in to change notification settings - Fork 577
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
cache-control header #54
Comments
+1 |
+1, would be nice to be able to set these in negroni, but not sure if this is outside the realm of negroni being "tiny" an alternate solution could be implementing your own static file server middleware perhaps with the help of this: https://groups.google.com/forum/#!topic/golang-nuts/n-GjwsDlRco rather than using negroni's out of the box Static() that gets bundled with Classic() |
+1 |
@esses nocache middleware, with idiomatic approach |
@dalejefferson are you good with the responses above? 😺 |
Gonna close this, but please reopen if you have any additional questions! |
How would I set a cache control header for static files in negroni?
The text was updated successfully, but these errors were encountered: