bminer/node-static-asset — pull request #11 by matinm (2014-05-30 22:49:09+00:00)
Title: Fix bug where default caching strategy would neglect to cache etags.

The default caching strategy was neglecting to cache `Etags` headers for files. This led to CRC-32 hashes getting calculated on every template render, which slowed down load times considerably.

This also adds a more robust check for production environments, since some teams (like ours) may set `NODE_ENV` to `prod` instead of `production`.