Added check to only cache published pages (without WorkPageID)