Implement cache for html code of pages

@tadatuta @tavriaforever @gela-d