Fix bug in cache headers