cookie cache a main tab