class RootController < ApplicationController

  def related
    render :text => File.read("#{Rails.root}/app/views/root/related.raw.html.erb")
  end

end

class RootController < ApplicationController

  caches_page :wrapper, :print, :related, :homepage, :admin
  caches_page *%w(404 406 418 500 501 503 504)

  def related
    render :text => File.read("#{Rails.root}/app/views/root/related.raw.html.erb")
  end

end

Enable page caching for all templates.
Enable page caching for all templates.

This will enable apache/nginx to serve all but the first request for
each one, which will improve performance somewhat, and save having to
keep workers running for static.
