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

adds nocache middleware #244

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

adds nocache middleware #244

wants to merge 6 commits into from

Conversation

bobzoller
Copy link

I had issues putting sinopia into production because it does not explicitly set caching headers. There are probably smarter, more targeted decisions to be made, but I think a good practice is to set broad no-cache headers early, and adjust them later in the request chain if possible.

This PR accomplishes the first part, setting no-cache headers by default using the helmetjs/nocache middleware.

gaelreyrol pushed a commit to Soyhuce/cinabre that referenced this pull request May 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant