caching for js and resource route in production