Gzip compression in html [closed]?

If you cannot modify IIS and cannot be bothered to change your files to PHP to use output buffering, then the answer is you cannot GZip them. Nt: sed find and mv are your friend, as is your IDE's Search/Replace function.

Dear Gordon as you know that if you purchase web hosting from any company online, they did't give you access to IIS. Second, my project is in HTML and 105 html of pages interlined with each other, tell me is this easy to convert into PHP and chnage links from each and every page. And I want to use GZIP.

And I don't know any one (SED etc)... – air Jan 7 '10 at 13:49 Easy? Yes. Tedious?

Sure, if you do it by hand. That is why I pointed you to sed, find, mv and your IDE's Search/Replace function. Batch changing file extensions via the shell is a one liner, as is changing the extensions of all links inside these files.

The only thing that could be somewhat difficult is inserting the output buffering code. – Gordon Jan 7 '10 at 16:37 105 whole pages! My word!

Editing those could take a day! – Paul D. Waite Jun 17 '10 at 14:56.

Not entirely sure if this would work, but you could: Download all the files to your computer (if they’re not there already) Use the command line program gzip to gzip each file individually, leaving their names the same. Upload them to the server again. IIS might be clever enough to notice that they’re gzipped, and serve them with the correct HTTP headers.

But of course, it might not. It’s probably a good idea to ask your hosting company how you can serve your files with gzip compression on the hosting plan you’re on.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions