Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
scoop and mod_gzip Announcements
By Smirks , Section News []
Posted on Wed Nov 07, 2001 at 12:00:00 PM PST
Over the last few days I've been experimenting with using the apache mod_gzip module with my scoop installation. I was fianlly able to put together a working setup which reduces the page size by as much as 85 percent!

You can have a working scoop/mod_gzip installation by following these steps:

  1. Grab the mod_gzip apache module from mod_gzip website
    • You can either compile the module into apache directly, or you can use the loadable module
  2. Add the following to your httpd.conf file:
    mod_gzip_on yes
    mod_gzip_dechunk yes
    mod_gzip_keep_workfiles No
    mod_gzip_temp_dir /tmp
    mod_gzip_minimum_file_size 1002
    mod_gzip_maximum_file_size 0
    mod_gzip_maximum_inmem_size 1000000
    mod_gzip_item_include mime text/html
    mod_gzip_item_include mime text/plain
    mod_gzip_item_include mime ^text/.*
    mod_gzip_item_include mime text/.*
    mod_gzip_item_include mime application/x-httpd-cgi
    mod_gzip_item_include handler ^perl-script$
    mod_gzip_item_exclude file "\.css$"
  3. Restart apache
  4. Watch how the pages load faster!
On my scoop site I noticed the index page going from nearly 50k to just over 8k! Feel free to look at my mod_gzip statistics for InTune, where you can see how much of the actual data is being compressed with neat little graphs produced by mgstat.
< Sumballo | Valid HTML? >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· mod_gzip website
· scoop site
· statistics
· mgstat
· More on Announcements
· Also by Smirks

Story Views
  191 Scoop users have viewed this story.

Display: Sort:
scoop and mod_gzip | 57 comments (57 topical, 0 hidden)
Other download size issues. (none / 0) (#1)
by Jacques Chester on Thu Nov 08, 2001 at 07:24:36 PM PST

Firstly, a good CSS implementation would allow the browser one CSS file for the entire site. There's kilos of redundant formatting right there.

Secondly, the server should aggressively strip out unnecessary whitespace, comments and whathaveyou. Turn it into a few long lines. In my experience this shaves off about 10-20% of any HTML document.

These things aren't just for speed - I pay per-MB. Halving my incoming traffic from K5 could chop my bill by maybe 15%.
-- "Hell, even I don't know what I'll do next!" -- His Imperial Dynarchic Majesty Random II.



THANK YOU (none / 0) (#2)
by slinberg on Fri Nov 09, 2001 at 10:31:45 AM PST

THANKS for posting this! I had no idea this was possible. I installed it on my server and it was simple - even recompiling was a snap with apxs (do an apachectl configtest before restarting, mine warned that the precompiled binary wouldn't work), and then turning it on was simple.

It's amazing how much faster my sites feel now.

Thanks for sharing this.



more processing? (none / 0) (#6)
by janra on Sun Nov 11, 2001 at 12:20:09 AM PST

I would love to have my pages load faster, but doesn't using mod_gzip increase the processing the server has to do before sending out the page?

Basically, I know you got much faster response, but would I? I get a lot of people hitting 'stop' before the page starts loading as it is (at least, I'm assuming that's what 200 0 for http response code and bytes sent, respectively, means).

I know, I know, get a faster computer, right? ;)


--
Discuss the art and craft of writing




Wow (none / 0) (#9)
by kcidx on Tue Nov 13, 2001 at 10:29:54 AM PST

I just installed this on my 400mhz Athlon w/ 320MB of ram and all I can say is WOW!

I can't remember the last time I had such an intense performance gain from such a relatively small modification.

It's especially noticable because my site has a relatively small and regular amount of traffic, but it's hosted on a cable modem that frequently lags really really bad...hence any decrease in the amount of data transmitted transforms into a very noticeable increase in performance.

Thanks for the tip! It's great!



Stats (none / 0) (#11)
by fluffy grue on Mon Dec 03, 2001 at 11:54:55 PM PST

I think something's wrong with your stats... it's giving about the same numbers for both 'all objects' and 'compressable objects' even though compressable objects should be about 30% as much.
--
(λq.qq)(λq.qq)


Key point! (none / 0) (#13)
by rusty on Fri Jan 25, 2002 at 03:21:32 PM PST

I set this up on K5, and was underwhelmed. It didn't seem to be working right or something. Then just today, someone finally clued me in. This is important:

If you're running Scoop with a two-server mod_perl/proxy configuration, you need the following line in your config:

mod_gzip_item_include handler ^proxy-server$

Otherwise, mod_gzip won't know it's supposed to hanbdle pags that come out of the proxy, so none of your Scoop pages will get compressed.

This is now on K5, and compressing by ~80%. It's very nice. :-)



Uhh... (none / 0) (#14)
by fsterman on Tue Apr 08, 2003 at 01:28:07 PM PST

After a cursory look at mod_gzip I think you need to tweek your settings a bit. Since images have already got really good compression you need to add the line:

mod_gzip_item_exclude         mime       ^image/

Netscape 4.x has problems with CSS & Java Script so you need to either delete the line "mod_gzip_item_exclude file "\.css$"" and include the line "mod_gzip_item_exclude         file       \.js$" _or_ just exclude NS 4 from getting compressed material.  "mod_gzip_item_exclude         reqheader  "User-agent: Mozilla/4.0[678]""
As Jacques Chester said if you just do a global CSS it is probably best to do the first solution.
mod_deflate is also more flexable with more powerful filters.  Giving the ability to compress everything that a browser can handle but compress that wich it can't.  Meaning the above workaround isn't necassary.  NS 4 will still not recieve compressed CSS and JS but all modern browsers will.



Very cool (none / 0) (#15)
by kevin on Thu Mar 20, 2008 at 12:01:03 PM PST

Very cool. Can you tell if it's working at all? Did you have to do any fooling with the configuration files? Kevin Sender



Thanks for the tip! It's great! (none / 0) (#16)
by mike22122 on Wed Feb 04, 2009 at 01:44:47 AM PST

Thanks for the tip! It's great!Thank you for your cool article. online tv - To get some TV resouces here: watch tv online and free online tv Thanks



Excellent (none / 0) (#17)
by vegaskid on Mon Feb 16, 2009 at 10:38:02 PM PST

Have you ever considered adding more videos to your blog posts to keep the readers more entertained? I mean I just read through the entire article of yours and it was quite good but since I'm more of a visual learner,I found that to be more helpful well let me know how it turns out! I love what you guys are always up too. Such clever work and reporting! Keep up the great works guys I've added you guys to my blogroll. This is a great article thanks for sharing this informative information.. I will visit your blog regularly for some latest post.
-----------------------

Regards,
----------------------
Jason
Las Vegas Coupons | Manny Pacquiao



Link Not Working (none / 0) (#18)
by Inetzeal on Wed Feb 18, 2009 at 01:11:03 AM PST

Hey, I wanted to try this out but, link you provided (remotecommunications.com/apache/mod_gzip/) sounds dead, is there any other way to get that module? (coz it is old post i guess?) I had some problem in loading page lately.. -- By a guy from SEO Service and Roboform Reviews.



index 50k (none / 0) (#19)
by colbyswap on Thu Jul 28, 2011 at 07:40:20 AM PST

i interest to know more about how you can indexed more than 50k, how long you've been reach the amount

mobil bekas jakarta , mobil bekas di jakarta thanks for sharing, this is useful. great



beuat (none / 0) (#20)
by bluejade on Wed Sep 28, 2011 at 03:47:36 AM PST

I think reading should be passive: until you actually hit a rate button, you're not intending to rate anything: that a default rating would occur would seem surprising. screw press



note (none / 0) (#21)
by bluejade on Wed Oct 19, 2011 at 10:55:51 PM PST

But that leaves the quandary of the normal post: *if* you compress the scale, and if you have a default, a 50% moderation rate would give an effective scale of 1.5-2.5. Values would cluster around the default. oil expeller manufacturer



hi (none / 0) (#22)
by mrmill on Tue Oct 25, 2011 at 02:52:40 AM PST

I sincerely got a kick from your article. I really do not truly have much to say in response, I only wanted to comment to reply great work.Filter Press



dm (none / 0) (#23)
by bluejade on Wed Oct 26, 2011 at 10:14:55 PM PST

Good stuff as per usual, thanks. I do hope this kind of thing gets more exposure. oil press



wnaton (none / 0) (#24)
by bluejade on Wed Nov 02, 2011 at 11:48:21 PM PST

I graduated with no loan debt and have no oustanding debt currenly. Aluminum Wallet



Re: (none / 0) (#25)
by rrgan12 on Thu Nov 24, 2011 at 01:34:39 PM PST

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.
-van hire



gzip (none / 0) (#26)
by evasmith8812 on Tue Nov 29, 2011 at 05:06:44 PM PST

I have used gzip for years, the did not know you could implement this on the website. I think this sort of thing would be helpful for technology firms doing accident reconstruction. This would save having to e-mail large documents back and forth. You could upload them to one central server and everyone can have access to them. What do you guys think?



Reply (none / 0) (#27)
by Anonymous on Wed Nov 30, 2011 at 06:45:39 AM PST

You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant! online university | online schools | university program



Reply (none / 0) (#28)
by Anonymous on Wed Nov 30, 2011 at 06:46:13 AM PST

Cool! I love your site. Very well done. Thanks for organizing everything to where I can find it easier. Keep up the good work! I love it! Regards online degrees | diploma program



scoop (none / 0) (#30)
by johny greg on Fri Dec 30, 2011 at 02:44:33 AM PST

Interesting post and thanks for sharing. Some things in here I have not thought about before.Thanks for making such a cool post which is really very well written. Will be referring a lot of friends about this. Keep blogging.Criminal Defense Lawyer Reno Nevada



myCmt (none / 0) (#31)
by aiden pole on Fri Dec 30, 2011 at 04:23:06 AM PST

Good post. I'm been looking for topics as interesting as this. Very informative and information presented very well. I really liked reading your post which has delivered a great news about the opportunities that will be helpful for the people who are jobless.This significant opportunities will play an important role in developing the success of the people. chef jacket



neaten (none / 0) (#32)
by bluejade on Wed Jan 04, 2012 at 10:22:35 PM PST

valuable and excellent, as share good stuff with good ideas and concepts, lots of great information and inspiration. Green Raisin



Reply (none / 0) (#33)
by Anonymous on Tue Jan 10, 2012 at 06:54:15 AM PST

Cool! I love your site. Very well done. Thanks for organizing everything to where I can find it easier. Keep up the good work! I love it! Regards Buy Term Paper Online



didn (none / 0) (#34)
by bluejade on Tue Jan 10, 2012 at 07:55:49 PM PST

Technology grows very rapid todays. Many new brands in technology introduce their new electronic and hi-tech things almost every month. Pumpkin Kernels



Agreed (none / 0) (#35)
by john123 on Fri Jan 13, 2012 at 08:48:30 AM PST

Thanks for sharing, agree with you Divorce Solicitors Leicester



scoop (none / 0) (#37)
by johnynickelson on Tue Jan 17, 2012 at 01:03:48 AM PST

it was nice to read your blog. The thoughts are very well laid out and it was refreshing to read. I was able to find the information that I was looking for. I just wanted to leave a comment as a token of appreciation. Thanks for sharing this on the Net.snoring pillow



prodn (none / 0) (#38)
by bluejade on Tue Jan 17, 2012 at 01:22:40 AM PST

It will continue until we have the balls to at least offer a way for those who feel they have been unfairly fired a chance at having some recourse through independent arbitration. Apple Rings



Very useful (none / 0) (#39)
by superking on Tue Jan 17, 2012 at 05:53:32 AM PST

Very useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up. payday UK



This is really (none / 0) (#40)
by superking on Wed Jan 18, 2012 at 02:17:05 AM PST

This is really a nice and informative, containing all information and also has a great impact on the new technology. Thanks for sharing it payday advance online



you need to get a cron job (none / 0) (#42)
by pandafulo on Fri Jan 20, 2012 at 09:38:18 AM PST

fixate on your health instead of your software akuntansi laporan keuangan terbaik weight as your goal for getting rid of those extra ultrabook notebook tipis harga murah terbaik weight weight loss is just the bonus peluang bisnis when you fixate more on living healthy bisnis online you will be able to lose weight and keep it off you can live a healthy life jasa seo by consuming less and exercising dollar gratis more this does not mean to say that you will not eat anything peluang usaha or will stop eating rather to avoid those foods bisnis modal kecil that are high in fat and are sweet since they are the reason why you bisnis sampingan have the excess weight avoid consuming processed food try to adhere to those that are bisnis rumahan natural a number of stores concentrate in marketing such kind of food



myCmt (none / 0) (#43)
by chales quimby on Sun Jan 22, 2012 at 11:40:49 PM PST

I am appreciating it very much! Looking forward to another great blog. Good luck to the author! all the best! sameer thapar



myCmnt (none / 0) (#44)
by jack quimby on Wed Jan 25, 2012 at 04:11:34 AM PST

Thanks for sharing Interesting post. Thanks for taking this opportunity to discuss this, I appreciate with this and I like learning about this subject. If possible, as you gain information, please update this blog with more information. I have found it really useful. chefs clothing



myCmnt (none / 0) (#45)
by fred daniel on Tue Jan 31, 2012 at 08:38:19 AM PST

Its really a nice article. It has good content. Thanks for sharing it. mole removal cream



Gzip (none / 0) (#46)
by jhsauyr on Wed Feb 01, 2012 at 05:04:00 AM PST

This is a wonderful evince. I enjoyed the set lot. I penning implication this ply. Thanks for compute this chenopodiaceae trait. this website



deidn (none / 0) (#47)
by bluejade on Mon Feb 06, 2012 at 01:34:36 AM PST

The company hired this new rep, she was nice at first, very outgoing, funny and friendly, but within six weeks she started to show her true colors. Biomass Briquette Press



thanks for the post (none / 0) (#48)
by snesxp on Wed Feb 08, 2012 at 05:06:15 PM PST

o melhor sex shop do brasilsex shop hipertrofia muscular agora mesmohipertrofia medicina do esporte é a melhor solução em malhaçãomedicina do esporte sexy shop com os melhores produtos eroticossexy shop



thanks for the post (none / 0) (#49)
by snesxp on Wed Feb 08, 2012 at 05:07:08 PM PST

o melhor sex shop do brasilsex shop hipertrofia muscular agora mesmohipertrofia medicina do esporte é a melhor solução em malhaçãomedicina do esporte sexy shop com os melhores produtos eroticossexy shop



I like this man (none / 0) (#50)
by TheGateKeeper on Fri Feb 10, 2012 at 10:04:46 AM PST

Amazingly good blog pal, reminds me of Self Defense Laws, or possibly heavy bag workout.thanks from stretches for hamstring. Please keep posting and never take this blog down. Also, check out Muay Thai Camps in Thailand.



siern (none / 0) (#51)
by bluejade on Mon Feb 13, 2012 at 01:16:38 AM PST

There were a few times when he didn't pay me; when I reminded him that I needed my paycheck, he would say that he'd "forgotten" about it and would grudgingly make out a check to me, with a grouchy look on his face. mosquito net



Amazing (none / 0) (#52)
by johnieflakne on Wed Feb 15, 2012 at 07:23:02 AM PST

WOW that´s all I can say, reduzing the size of a site a 85% is almost a miracle man! I have problems loading my sites because their size is huge, so what I do is looking for the fstest hosting providers, I will try your trick, hope it works!! Johnie Flakne, online backup solutions reseller program



Re: (none / 0) (#53)
by davesteve12 on Wed Feb 15, 2012 at 01:25:12 PM PST

Interesting post and thanks for sharing. Some things in here I have not thought about before. Thanks for making such a cool post which is really very well written, we will be referring a lot of friends about this.
-motor trade insurance



uz (none / 0) (#54)
by paulica on Mon Feb 20, 2012 at 05:33:29 PM PST

Substantially the article is really the best on this laudable topic. I concur with your conclusions and will eagerly look forward to your future updates and waiting for DBZ Games.Just saying thank you will not just be enough for the wonderful lucidity in your writing.



compredi (none / 0) (#55)
by bluejade on Mon Feb 20, 2012 at 09:33:41 PM PST

Just trying to help people get somewhere in their professional lives by letting them know what managers look for in employees. Free Standing Mosquito Net



griahe (none / 0) (#56)
by bluejade on Tue Feb 21, 2012 at 08:17:41 PM PST

They probably left their last job because people were too busy judging them by their previous employer rather than whether they're working through the problem or not. Briquettes Machine



fer (none / 0) (#57)
by wuliao on Tue Feb 21, 2012 at 08:20:22 PM PST

I accept your descriptions as my important details in my career.Thanks a lot.oil exreaction



scoop and mod_gzip | 57 comments (57 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search