Far Future Expires Headers For Ruby On Rails With Nginx

Browsers load static images from your website again and again if your web server does not send an expires header with a date far in the future. To avoid that unnecessary traffic on your servers and unnecessary load times for your users, it's a good idea to let your nginx send those expires headers. But, … Continue reading Far Future Expires Headers For Ruby On Rails With Nginx

Getting Started With The Opscode Chef Platform – Configuration Management In The Cloud

In "The Moving Parts of Opscode Chef" there was an interesting discussion about the need of a highly available chef server if you want to use opscode chef as your configuration management tool of choice. Especially for small to medium sized enviroments running your own chef server is overkill. If you don't want to use … Continue reading Getting Started With The Opscode Chef Platform – Configuration Management In The Cloud

Automated Configuration Management With Opscode Chef: The Basic Moving Parts

The Moving Parts Managing your infrastructure with Opscode Chef involves a few moving parts you need to be aware of. As I found it quite hard to differentiate, I want to share the basics with you: Chef server There you manage all your nodes and roles. The chef server distributes cookbooks to the nodes. Chef … Continue reading Automated Configuration Management With Opscode Chef: The Basic Moving Parts

Rethinking code reuse with Modularity for Ruby

This is a guest post by our friends over at makandra, a cool Ruby on Rails development shop. Today they announce a great new Ruby gem for dealing with separating concerns in your ActiveRecord models. Reusing code is hard. But although we knew that high-level components don't work, we found ourselves rewriting similar code again … Continue reading Rethinking code reuse with Modularity for Ruby