Fix determining if html validation output can be cached