Referentie, aandeel, en hop uw favoriete plaatsen met Toolbar SiteHoppin voor Firefox!

Rug: Geef nooit op, vooral uw blogdude!

Door:sturen: HOUWER DIY Linksys - tweak HOWTO uw router om 10 keer sneller te gaan!


HOUWER DIY Linux - HOE TE om uw Wordpress Blog, MediaWiki, of een andere hoge ladingswebsite met Compressie te optimaliseren!

Binnen gepost Blog, Cpu, Computer, Linux, Ubuntu, Web, WebApp, Wordpress door maximum op 24 Februari, 2008 in 6:37 p.m.

Goed, deden wij heel wat server het binnendringen in een beveiligd computersysteem voordien met één of andere MySQL, eAccelerator, en httpd.

Er zijn heel wat belangrijke blogs daar ik het gebruiken heb gecontroleerd Het Hulpmiddel van de Compressie van de Web-pagina dat geen compressie gebruikt. (Één, controleerde ik John Chow blog)

Probeer om één van uw posten te controleren in plaats van het controleren van uw hoofdURL aangezien het hulpmiddel met worteldomeinen funky is. (b.v. Controle http://zedomax.com/blog/2008/02/23/never-give-up-especially-your-blog-dude/ in plaats van http: //zedomax.com)

Hier is een screenshow van compressietest die ik voor één heb gedaan van John Chow posten:

a

Aangezien u kunt zien, gebruikt John Chow blog geen compressie. Dientengevolge, verliest hij uit op bijna 5 keer van bandbreedte!!!

With level 9 compression, his site could be loaded on your web browser at 21K instead of the whopping 100K.

Now the compression might not be for all of you with slow CPUs. Our Zedomax.com runs on Quad-CPU server which has a lot of CPU processing power.

Here’s a screenshow of my server under normal load:

DIY HACK - HOW TO optimize your Wordpress Blog, MediaWiki, or any other high load website with Compression!

As you can see, most of the time, my CPU is idling at 80.8%! That means my CPU is pretty much sitting on its ass instead of doing work for me.

Now, if you have a similar situation, compression will help your site load faster and also bring your load down so you can handle more traffic.

Here’s how to enable compression if you have a dedicated or access to root on your server:

(Most servers have zlib installed, if you don’t have zlib installed, you will have to install that first, you can check it by making a test file and putting <?php phpinfo() ?> and search for zlib)

Add the following lines to your /etc/php.ini:

zlib.output_compression = on
zlib.output_compression_level = 5

and then restart apache! (of course):

httpd -k restart

Now, go check one of your posts on the Compression Test Tool here.

b

As you can see above, I just compressed one of my blog posts by a whopping 76.1%!

If you are using Super Cache plugin for Wordpress, make sure to go to options and do this too:

Enable Super Cache Compression

Now, your server will run faster since there’s less data being transmitted to your visitors, meaning you save bandwith, time, and most importantly, the ability to handle more traffic.

At 70% increase in bandwidth, that could translate to that many more visitors too as bandwidth is directly proportional to amount of time a visitor stays on your site. (Yes, I did take Calculus in college, I failed miserably before passing.) The less time a visitor takes to load a page on your blog or your site, the more time and bandwidth you have for other visitors.)

I was searching through the web for many ways to use compression for server optimization but I couldn’t find any so I sort put everything together here.

Hopefully, it helps you.

And one more thing, you can also check out this great tutorial on your httpd.conf setup.

You can always check out HOWTO decrease load on your server by 5 times also.

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,



1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


If you like this post then please subscribe to my full feed RSS. You can also subscribe by Email.

Got a new hack, DIY, howto, or gadget? Tip us here.

Search for a Hack:


Bookmark It!


|Digg it |SiteHoppin |Wagg It |

Related Posts



TrackBack

Email this to a Friend Email This Post Email This Post

RSS feed

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI

Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.