Add layout_8 to template cache dependency