Optimize your website is important steps after you made it. If you build your website using wordpress, i found three steps to optimize it.
First Step – Optimize
1) Upgrade to latest WordPress release
2) Delete all the unused or unwanted plugins (this is the first reason why you need 10-12 seconds to load your homepage).
3) Clean up your css code using a css compressor like styleneat, cleancss or csstidyonline.
4) Reduce the PHP and database queries.
For example, on your header, use absolute URLs (http://www.yourdomain.com/wp-content/themes/example/style.css instead of < ?php bloginfo(‘stylesheet_url’); ? >).
Second Step – Install some plugins
After that you can install 6 ‘magic’ plugins:
5) WP Super-Cache (to cache all the dynamic requests as static html files).
6) WP Tuner (to analyze your database and to find slow queries or plugins).
7) WP Smush.it (to reduce image file sizes using Smush.it)
8) WP-DBManager (again, to optimize and repair the database)
9) Disable Revisions and Autosave (every time you change a post you create new row in the database, you don’t need this feature).
10) Clean Options (to find orphaned options in the wp_options table)
Third Step – Finish up
11) Use Amazon S3 to serve static files (useful to save bandwidth and cpu). If you need help follow this guide.
12) Be sure to have the favicon.ico file. Otherwise WordPress will generate an ‘invisible’ 404 error (and a large amount of server load)
13) Disable Hotlinking of image. Two tutorials from jaypeeonline.net:
* HowTo: Prevent Bandwidth Theft or Hotlinking
* HowTo: Allow Google Reader Access To Hotlink-Protected Images
14) Keep RSS ‘content thieves’ away (tutorial here). And maybe use feedburner without any extra plugin to redirect your users.
15) Create a robots.txt file and a sitemap
16) Use Pingdom, Firebug and Dust-Me Selectors to find and fix errors.
Source: http://blogof.francescomugnai.com/2009/07/16-pratical-tips-to-speed-up-wordpress-on-media-temples-grid-service/
First Step – Optimize
1) Upgrade to latest WordPress release
2) Delete all the unused or unwanted plugins (this is the first reason why you need 10-12 seconds to load your homepage).
3) Clean up your css code using a css compressor like styleneat, cleancss or csstidyonline.
4) Reduce the PHP and database queries.
For example, on your header, use absolute URLs (http://www.yourdomain.com/wp-content/themes/example/style.css instead of < ?php bloginfo(‘stylesheet_url’); ? >).
Second Step – Install some plugins
After that you can install 6 ‘magic’ plugins:
5) WP Super-Cache (to cache all the dynamic requests as static html files).
6) WP Tuner (to analyze your database and to find slow queries or plugins).
7) WP Smush.it (to reduce image file sizes using Smush.it)
8) WP-DBManager (again, to optimize and repair the database)
9) Disable Revisions and Autosave (every time you change a post you create new row in the database, you don’t need this feature).
10) Clean Options (to find orphaned options in the wp_options table)
Third Step – Finish up
11) Use Amazon S3 to serve static files (useful to save bandwidth and cpu). If you need help follow this guide.
12) Be sure to have the favicon.ico file. Otherwise WordPress will generate an ‘invisible’ 404 error (and a large amount of server load)
13) Disable Hotlinking of image. Two tutorials from jaypeeonline.net:
* HowTo: Prevent Bandwidth Theft or Hotlinking
* HowTo: Allow Google Reader Access To Hotlink-Protected Images
14) Keep RSS ‘content thieves’ away (tutorial here). And maybe use feedburner without any extra plugin to redirect your users.
15) Create a robots.txt file and a sitemap
16) Use Pingdom, Firebug and Dust-Me Selectors to find and fix errors.
Source: http://blogof.francescomugnai.com/2009/07/16-pratical-tips-to-speed-up-wordpress-on-media-temples-grid-service/