Thanks for the suggestion. I'll give it a
try.
Sam
One sure fire way to prevent caching is to include a cache buster in your request URL...
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Gahl
Sent: Wednesday, August 09, 2006 2:31 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: Re: [Rails-spinoffs] requestHeaders: ['cache-control', 'no-cache','pragma', 'no-cache'],
var cacheBuster = "?" + new Date() * 1;
var url = "" + cacheBuster;
...do Request...
On 8/9/06, Sam <[EMAIL PROTECTED]> wrote:Ajax.Request... doesrequestHeaders: ['cache-control','no-cache','pragma','no-cache'],apply to both GET and PUT operations?Can I ensure a page I retrieve will not be cached by the browser using Ajax.Request, GET?Sam
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs