cache html headers when locate toc in viewport