Bad performace for html file