minify assets and add browser caching