Stop browser caching content

If you're serving the document from an action, you can add any header
you want by putting it in the headers[] hash:

class MyController < ActionController::Base
  def file
    headers['Cache-Control'] = 'no-cache'
    headers['Pragma'] = 'no-cache'
    # send file
  end
end