Apache mod_deflate - real world improvements?
Curious to know whether anyone's ever used the mod_deflate module with apache web server. The module compresses the output from the server before it's sent to the client on the network. More information on this is available here - mod_deflate - Apache HTTP Server
Just want to know whether anyone's used it. I want to know the real world speed improvements using the mod.
Just want to know whether anyone's used it. I want to know the real world speed improvements using the mod.
Replies
-
Harish KotraWell a good post again. I have been using this on my multiple WordPress installations as part of SEO to speed up my blogs for more than 2 years now. mod_deflate is similar to gzip compression but faster than that.
Search Engines always love to rank websites higher which have faster page load times and this is achieved by compressing the content of your website and allowing it to be fetched faster than the normal time it takes. mod_deflate helps in the same and does improve the speed of the website which can be checked through Yahoo Page Speed Test or even Firebug which has an addon for the same.
Code I have been using for a while which might be useful for members here
# BEGIN Deflate
< ifmodule mod_deflate.c >
< filesmatch "\.(js|css|png|jpg|gif|jpeg|htm|html|php)" >
SetOutputFilter DEFLATE
< /filesmatch >
< /ifmodule >
# END Deflate -
Kaustubh KatdareThanks a lot, #-Link-Snipped-# . Did you notice any jump in the page spee test rankings after enabling this? I'm curious to know what are the compression sizes I can expect and is there any signifiant loss of quality of the images?
-
Harish Kotra#-Link-Snipped-# Sorry for the late reply but there isn't much loss of the image quality. I would say your page will load much faster than it used to be. GTMetrix is the site where I check my ranking and there is a greater ranking after I add this in my .htaccess file which is 100% true. A most of the time and in rare cases B is the rating I get.
-
Kaustubh KatdareThank you, Harish. I can definitely test this. I'm only concerned about the extra load it would add on the processor because Apache will have to process each and every request made to it and add an extra layer of compression. Did you see any noticeable spike in the load after enabling it? If yes, which file extensions do you think are most processor intensive?
-
Harish KotraTo be frank I didn't actually do so much experimentation into it. But as I said there was good improvement though.
-
Kaustubh Katdare
Have began using it and the difference is small but still noticeable. Looks like it won't do much harm. Thank you for your inputs, Harish.Harish KotraTo be frank I didn't actually do so much experimentation into it. But as I said there was good improvement though. -
Harish KotraNo problem ๐ I just told what I knew and learnt ๐
You are reading an archived discussion.
Related Posts
While communication is already in its 4th generation and everyone's talking abou the advantages of these technologies, I want to divert some attention to the disadvantages of these technologies. I...
hi! guys could anyone help me with this problem. I downloaded IIS server and wamp server on my computer and when I tried to put online or offline for wamp...
Oh, and a new Absolute Zero logo. About time ๐
Very good video promoting Electronic Design's 2012 engineering salary survey:
www.engineeringtv.com/video/Electronic-Designs-2012-Annual
My salary isn't quite in line with others in my field (lower) - good to know... Also found the...
Hello everyone, it's been long time and now I'm back ๐
I have a friend who is in the final year of mechanical engineering, department of production and he wants...