I am having some difficulty understanding what values to pass to the
parameter requestHeaders.

I thought this would be sufficient to prevent page caching

requestHeaders: { Cache-Control: 'no-cache', Pragma: 'no-cache', Expires: '-1' }

I get an error message

missing : after property id

when I only use

requestHeaders: {  Pragma: 'no-cache', Expires: '-1' }

I do not get an error but I also do not get the no cache effect I am
looking for.

Any help would be appreciated.

-- 
Edward Grant

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to