Middleware component to set cache headers on responses from an Express or Connect server