Feeds:
Posts
Comments

Archive for the ‘Ruby / Rails’ Category

Repurposing Layouts

(I wrote this a while ago, but never got around to posting it anywhere, so there’s a chance Rails has moved on since then.)
I recently found myself in the position of needing to generate a large number of static pages using the application.html.erb layout. Normally this happens within the context of a web request, so the support [...]

Read Full Post »

Browser Caching in Rails

This post is in response to episode #1 of the ‘Scaling Rails’ screencast series presented by Gregg Pollack, which discusses various ways one can improve page load times by focusing on network issues, for example by caching static content or minifying files. All good stuff, but it’s worth going into a little more detail on a [...]

Read Full Post »