Search
Last Articles:
- Debian developer Thiemo Seufer died.
- Microsoft confirms that any Internet Explorer version is insecure
- openSUSE release and download
- openSUSE release countdown
- Download Slackware 12.2 and read the release news
- The .tel domain
- Fedora Core 10 release notes and download
- Linux Technical Support in Costa Rica
- Gmail themes
- New Mandriva Flash device
Blogroll:
- GatoLinux - Best Linux how-to’s and Linux news
First Apache toolkit
- Apache documents
- Custom 404 error
- To restrict access
- eaccelerator to speed up Apache
- Building Apache 2
- Short URLs
- http redirect filter
- Module Rewrite - URL Rewriting Guide
- URL Rewriting
- Rewriting common examples
Posted on November 2008 in Web
Speeding up Apache with mod_deflate
It is important to load quickly every website page. In this article, I am going to describe the configuration of mod_deflate for Apache 2. This module let’s you to compress the content that the server is sending to clients (web browsers, in general). By doing it, the pages will load more quickly.
First, look for this module in your current Apache configuration file, for example:
grep deflate_module httpd.conf
if Linux returns:
LoadModule deflate_module modules/mod_deflate.so
then, this module is added in Apache.
Then, you must decide which content need to be compressed by this module. To compress text, html and xml files, add this code to your website definition code:
AddOutputFilterByType DEFLATE text/html text/plain text/xml
but, if you want to compress all files types by excluding only certain of them, try it:
Posted on November 2008 in Web


