If you have a public facing app, another option that I think is preferable to sending static files from nginx, is setting up a CDN proxy (like Amazon cloudfront). It's much easier to set up, performs (much) better across the world, and you can keep deploying your app/website as though it's one app. Just cache everything forever, and give files a new URL when you change them.