Skip to content

cjohansen.no

Apache

Using a far future expires header

By using a far future expires header you can efficiently control how assets are cached on the client, which results in improved performance. Here's how to set it up correctly with Apache, and some pointers on how to refresh users cache when you modify files.

Full article Using a far future expires header.

Multi-staging environment for Rails using Capistrano and mod_rails

I've finally gotten around to checking out mod_rails. As it turns out, it was every bit as simple and impressing as I had suspected. Here's how I set up a multi-staging environment using mod_rails and Capistrano.

Full article Multi-staging environment for Rails using Capistrano and mod_rails.

2006 - 2012 Christian Johansen Creative Commons License