A simple way to cache and minify a route response