utopia
utopia copied to clipboard
Static files don't get proper cache control headers when running on nginx.
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.
Hmm, that is odd.
public/ is normally served by web server, not application.