Good day.
I have webs
My homepage content is into

Code:
 <div class="active">
         Homepage content
          </div>
Class active is removed after some link (link1...link5) is clicked with jquery script

Code:
 $(document).ready(function(){ 
   $("#link-link1 , #link-link2 , #link-link3 , #link-link4 , #link-link5").click(function(){
   $(".active").css("display","none"); 
})})
It work but when i refresh page, it show my link content and homepage content (class active is visible). You can try it here (and see full code) . Probably i must use cache but i do not have idea how to realize it.