DIY Linux KERBE - WIE man Ihr Wordpress Blog, MediaWiki oder irgendeine andere hohe Last Web site mit Kompression optimiert!
Gut taten wir eine Menge Bediener vorher zerhackend mit irgendeinem MySQL, eAccelerator und httpd.
Es gibt eine Menge Hauptblogs, heraus dort, das ich das Verwenden überprüft habe Webseite Kompression Werkzeug das verwenden nicht Kompression. (Auf einem, überprüfte ich blog des John Chow-Chows)
Versuchen Sie, einen Ihrer Pfosten zu überprüfen, anstatt, Ihr Haupt-URL zu überprüfen, da das Werkzeug mit Wurzelgebieten funky ist. (z.B. Überprüfung http://zedomax.com/blog/2008/02/23/never-give-up-especially-your-blog-dude/ anstelle von http: //zedomax.com)
Ist hier ein screenshow des Druckversuchs, den ich für ein von durchführte Pfosten des John Chow-Chows:
Wie Sie sehen können, verwendet blog des John Chow-Chows nicht Kompression. Infolgedessen ist er heraus auf fast 5mal der Bandbreite!! Schlusse!
Mit Kompression des Niveaus 9 konnte sein Aufstellungsort auf Ihrem web browser an 21K anstelle vom whopping 100K geladen werden.
Jetzt konnte die Kompression nicht für die ganze Sie mit langsamen CPUs sein. Unser Zedomax.com läuft auf Bediener Viererkabel-CPU, der eine Menge CPU Verarbeitungsleistung hat.
Ist hier ein screenshow meines Bedieners unter normaler Last:
Wie Sie sehen können, läuft die meisten der Zeit, meine CPU bei 80.8% leer! Das bedeutet, daß meine CPU viel Sitting auf seinem Esel hübsch ist, anstatt, Arbeit für mich zu erledigen.
Jetzt wenn Sie eine ähnliche Situation haben, hilft Kompression Ihrer Aufstellungsortlast schneller und senkt auch Ihre Last, also können Sie mehr Verkehr anfassen.
Ist hier, wie man Kompression ermöglicht, wenn Sie ein engagiertes oder einen Zugang zur Wurzel auf Ihrem Bediener haben:
(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.
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:
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.
Related Posts
Bookmark It!
|del.icio.us |Digg it |SiteHoppin |Wagg It | Email this to a Friend
Email This Post
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.





















No comments yet.