Cache thread pages in localStorage