Recently I was stumbled into a post about making your Wordpress blog load faster. The principle of this process is simple which is reducing server request as much as possible by combining all javascript files loaded from your blog into a single file and also combining all css files into single file.
First you have to download a php script from this link, from rakaz. than upload the combine.php script to the root of your website. Secondly you need to create a cache directory that is writable by the web server. Again, by default this script will look for the cache directory in the root of the website, but you can change this in the combine.php script. Finally you need to create or modify your .htaccess file. If you do not have a .htaccess file you can create it in the root of your website and add the following lines.
RewriteEngine On
RewriteBase /
RewriteRule ^css/(.*\.css) /combine.php?type=css&files=$1
RewriteRule ^javascript/(.*\.js) /combine.php?type=javascript&files=$1
By applying this method, Only Easy Blog has gained a slightly better performance and thanks to rakaz who has invented this method for the first place.
Related posts:
- How to restore mysql and create backup without phpMyAdmin
- Easy way to allow hotlinking on your files
- Fixing Pligg gzip technique error
- Twisting Blog Scrapers Into Your Allies
How to backup your Mysql database with phpMyAdmin Written by Jon Berg Introduction It is very important to do backup of your MySql database, you will probably realize it when...
Hotlinking is not always mean bad thing for your website. Sometimes you may find it necessary to disable hotlink-protection for a specific directory. For example if you have a free...
I am proud to announce the launch of the new social bookmarking sites ShowUs. ShowUs is a social bookmasking site, where you can share and votes any interesting information collected...
“Have you ever feel so mad because your well prepared self researched blog post fell into a scraper blogs in a matter of minutes? ” I believe you did. A...
Subscribe
PapaRio
Posted on December 4th, 2008 at 6:14 amI’ll try your tips. Thank you for your information.