how to compress(.gzip) .HTML files in dreamweaver

by abs007
2 replies
Hi All
im sure many are aware that google will soon be taking the site loadtime speed as a ranking factor. I have managed to find a way to gzip files that are php however for .HTML files I havnt managed to find a way to gzip them.

For the php files you need to add the following code to each page

<? ob_start("ob_gzhandler"); ?>

For anyone looking for ways to gzip there files then I would recommend going to the following website which has a great explanation and guide to getting this done

WhatsMyIP.org GZip Using PHP

if anyone can help with this for html files then I would be greatful

thanks
#dreamweaver #files #gzip #html

Trending Topics