Search
Last Articles:
- Gimp Tricks: Selective Colorization
- The Right To Be Free
- Gimp Tricks: Selective Colorization
- The right to be free
- The right to be free
- Amarok 2.1 is out & Installing Amarok 2.1 on Ubuntu 9.04 Jaunty
- Filmaster: free and open social network for movie buffs with reviews and recommendations
- Filmaster: free and open social network for movie buffs with recommendations
- Selective list of Plasma changes for KDE 4.3
- A quick look at Mandriva 2009.1 Spring
Blogroll:
- GatoLinux - Linux Consultancy
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


