added minification and caching in non-development environments