Speed up your website and get help on a webmaster forum

You can find help and other usefull links at YourWeb LIFE Webmasters Forum.
Using a bit for code you can deliver any of your text based webpages faster, even up to 80%.
If you have dynamic generated pages (like CMS, blogs,…), please consult the second implementation, that uses mod_gzip.
This is free and it’s very easy to implement. All you need is an Apache Server and mod_deflate or mod_gzip (they are, in the main thing, the same).\
Ok, now nagigate to your main document root in the place where is located your index.html(index.php) and open or create the .HTACCESS file.
go anywhere in the openned/created document and add the folowing lines of code (3):

SetOutputFilter DEFLATE

(please remove the space after the < in order to work)

We are using mod_deflate because it’s better than mod_gzip with 20% at compression, but if you need something more inteligent (like precompression) please cosult the code bellow, in which almost any content is archive, but also massive data is being left off, to prevent an excessive use of the CPU.
The code commands the webserver to compress any Javascript,CSS or HTML before it sends it to the user. Now save and upload the .HTACCESS file.
Now navigate to your website and tst some pages (just test to see if your modification worked). If you get an 500 error, you could try the following code (now we are using mod_gzip, which is a bit more bad at compression), but also please cosider that this type of compression is more dedicated to dynamic content websites, such as Blogs, CMS, Shopping sites and it can compress more content and it can negotiatewith the browser of how to send the content (compressed/uncompressed):
mod_gzip_on Yes
mod_gzip_can_negotiate Yes
mod_gzip_static_suffix .gz
AddEncoding gzip .gz
mod_gzip_update_static No
mod_gzip_command_version ‘/mod_gzip_status’
mod_gzip_keep_workfiles No

mod_gzip_minimum_file_size 500
mod_gzip_maximum_file_size 500000
mod_gzip_maximum_inmem_size 60000
mod_gzip_min_http 1000

mod_gzip_handle_methods GET POST

mod_gzip_item_exclude reqheader “User-agent: Mozilla/4.0[678]”
mod_gzip_item_exclude mime ^image/
mod_gzip_item_exclude file \.js$
mod_gzip_item_exclude file \.css$

mod_gzip_item_include file \.html$
mod_gzip_item_include file \.php$
mod_gzip_item_include file \.pl$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/html$
mod_gzip_item_include mime ^text/plain$
mod_gzip_item_include mime ^httpd/unix-directory$

mod_gzip_dechunk Yes
mod_gzip_add_header_count Yes
mod_gzip_send_vary On

Another 500 error means that your webserver doesnt support neither of these modules. You can only contact your webhost admin.

More tutorials and tips including forum help from other memebers and site reviews , you can find at YourWeb LIFE Forum.

Find helpful experiences about free website traffic – this is your personal knowledge pack.