(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 [...]
Archive for the ‘Ruby / Rails’ Category
Repurposing Layouts
Posted in Ruby / Rails, tagged ERB, Rails, Templates on February 15, 2009 | Leave a Comment »
Browser Caching in Rails
Posted in Ruby / Rails, tagged Caching, Rails, Scalability on February 8, 2009 | 1 Comment »
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 [...]