Fix bug with cache headers