10.05.20100
[Tutorial] Speeding up WordPress
A little static content here, a little static content there and voilà, your fresh new WordPress-Blog might be like a snail. Therefore I added a rewrite-rule to my Apache-config, which rewrites all requests for http://tim.korv.es/wp-content/uploads/(.*) to my Lighttpd installation, which only serves out the static content from /wp-content/uploads/.
If you'd like to do so, just create a Lighttpd VHost, which uses your /wp-content/uploads/ directory as it's basedir, set the Listener to Port 81 (or whatever you like) and modify your Apache-config like this:
RewriteEngine On
RewriteRule ^/wp-content/uploads/(.*) ↓ http://static.tim.korv.es:81/$1
Et voilà, everything from /wp-content/uploads should now be delivered via your Lighttpd installation.