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

Static files don't get proper cache control headers when running on nginx. #11

Open
huba opened this issue Apr 16, 2017 · 2 comments
Open
Labels

Comments

@huba
Copy link
Collaborator

huba commented Apr 16, 2017

Responses generated by Utopia::Static when running on nginx don't get a Cache-Control header at all. Strangely responses generated by Utopia::Content don't have this problem. And it also works fine when running on puma with RACK_ENV=:development.

@huba huba added the bug label Apr 16, 2017
@ioquatix
Copy link
Member

Hmm, that is odd.

@ioquatix
Copy link
Member

public/ is normally served by web server, not application.

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

No branches or pull requests

2 participants