compression
In this tutorial I will describe how to install and configure mod_deflate on a lighttpd 1.4 web server on Debian Etch. mod_deflate is included by default in lighttpd 1.5, but not in 1.4 where mod_compress is used instead. The advantage of mod_deflate over mod_compress is that it can compress static and dynamic files (such as PHP files), whereas mod_compress can compress static files only. The lighttpd version coming with Debian Etch is 1.4.13, so we have to patch it to support mod_deflate. mod_deflate allows lighttpd to compress files and deliver them to clients (e.g. browsers) that can handle compressed content which most modern browsers do. With mod_deflate, you can compress HTML, text or XML files to approx. 20 - 30% of their original sizes, thus saving you server traffic and making your modem users happier.
1 FaverShareViewed: 8 TimesPing works by optimizing a variety of aspects of the PNG format (palette, compression parameters, IDAT chunks, etc.) but it does not remove any image information from the file. Since PNG is a lossless format, it certainly wouldn't make sense to throw away
1 FaverShareViewed: 16 Times2 FaversShareViewed: 41 TimesQuoted: NXPowerLiteはPowerPoint、Word、Excelのファイルサイズを軽量化するソフト。広告で知って体験版を試してみた。大きなファイルを最大20分の1(95%)まで圧縮・軽量化してしまうのだという。つまり、うまくいけば10メガバイトのファイルが、500キロバイトになるという計算。軽量化してもファイル形式が変わらないので、ファイルを開くユーザーは準備は不要である。
1 FaverShareViewed: 4 TimesQuoted: PHPのファイル群を1個のファイルにまとめることが出来る「phar」。
Foo.php , Bar.php ,Hello.php というファイルがあったとして、それを1個にまとめて、phar 化して、後で require して使うことが出来るようです。
Related Content from Around Faves
mdi
-
Economie. Des investisseurs toulousains veulent créer une usine de fabrication de la MDI « OneCats », la première voiture qui roule à l'air comprimé.
1 FaverViewed: 2 Times - Sigalon - Jul 16 20081 FaverViewed: 2 Times
- Sigalon - Aug 14 20081 FaverViewed: 5 Times
