using gzip for html and json