Archive

Posts Tagged ‘apache’

First Apache toolkit

November 10th, 2008 admin No comments
Categories: Web Tags: ,

Speeding up Apache with mod_deflate

November 10th, 2008 admin No comments

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:

Read more…

Categories: Web Tags: