Forum Moderators: phranque

Message Too Old, No Replies

How do you enable gzip compression for html files?

         

Skier88

5:59 am on Dec 3, 2011 (gmt 0)

10+ Year Member



Question's in the title. I was sure this would be dead simple, consisting of enabling a module at worst. But I've followed a dozen sloppy tutorials and not one has worked; and a good number don't enable gzip, but "DEFLATE". Those aren't the same thing, right?

tangor

6:57 am on Dec 3, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



One place to start: [httpd.apache.org...]

Is this shared hosting? If so, you might not have control over this function and will have to query your ISP.

Skier88

7:18 am on Dec 3, 2011 (gmt 0)

10+ Year Member



It's my computer, with apache on windows. So the settings are mostly default, not all-enabled like many webhosts.

Thanks for the link; I had actually seen that page before but discarded it. I thought deflate was a less effective algorithm than gzip - apparently that's wrong? Looking at the headers, I'm apparently sending gzip content now, but the browser accepts both deflate and gzip. Maybe deflate has two different meanings?

If they're the same thing then my question is answered - I loaded and enabled mod_deflate with no problem. Thanks for the reply.