Bug Headers of cached documents wrong