html inheritance; main page cache