Video: Speed Up Joomla with mod_deflate - Yireo

Video: Speed Up Joomla with mod_deflate

Speed up your Joomla! website using HTTP-compression with Apache mod_deflate and save more dan 50% of your bandwidth.

For testing whether compression works on your URL, you can use this http compression testpage.

Code in this tutorial

In this video-tutorial, the following code was used within the htaccess-file:

    SetOutputFilter DEFLATE
    AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
    AddOutputFilterByType DEFLATE application/xml application/xhtml+xml application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript application/x-javascript
    AddOutputFilterByType DEFLATE opplication/x-httpd-php
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|zip|gz)$ no-gzip dont-vary

Rectification

In this video-tutorial, it is wrongfully claimed that Joomla! does not offer a page-compression tool. But Joomla! does so since a long time (within the Global Configuration check the GZIP option). However, this only offers compression for the PHP-generated pages, and not other content (images, CSS-stylesheets, JavaScript).

Created on Thursday, 10 December 2009
Modified on Thursday, 01 September 2011

About Yireo

Yireo tries to help webdevelopers build successful Joomla! and Magento sites.

More about Yireo