public
Description: Rails plugin. Force major browsers (IE, Firefox, Safari) to reload a page, even when triggered by 'back' button.
Homepage: http://giantrobots.thoughtbot.com
Clone URL: git://github.com/dancroak/no_cache.git
dancroak (author)
Mon Apr 28 11:20:56 -0700 2008
commit  95d374ece61dbb0e98c9ffda4aa8ce29c4f9caae
tree    1336440f27e020346b84e011e2821000297da629
name age message
file README Loading commit data...
file Rakefile
file init.rb
file install.rb
directory lib/
directory tasks/
directory test/
file uninstall.rb
README
no_cache
========

This was extracted from a problem we had while building
a RESTful wizard without breaking the back button

http://giantrobots.thoughtbot.com/2008/4/25/pitfalls-in-restful-wizards

The no_cache plugin will force the browser to fetch a page
every time, including on clicks to the 'back' and 'forward'
buttons.

USAGE
=====

class PurchasesController < ApplicationController
  no_cache [:new, :edit]
end

class TeamsController < ApplicationController
  no_cache [:new]
end

# app/views/purchases/new, 
# app/views/purchases/edit, and 
# app/views/teams/new

<%= hidden_iframe %>

Copyright (c) 2008 Chad Pytel, Dan Croak, and thoughtbot, inc.
Released under the MIT license