* Improve caching by adding etags and reducing the max-age * Move caching into middleware. Set cache headers on segments