Cool tip!

But no am just testing in Firefox right now and its happening. I removed my
"gzip components", headers for cache and still same thing.

Dave 

-----Original Message-----
From: rich...@home [mailto:[email protected]] 
Sent: June-02-09 8:11 AM
To: CakePHP
Subject: Re: Cache Views?


Are you using IE?

IE has an annoying habbit of caching ajax responses, and the only reliable
way to get round it is to append a random string to the end of the request
url as an additional parameter.

/controller/model/param1/param2/my_random_param/

On Jun 2, 5:59 am, "Dave Maharaj :: WidePixels.com"
<[email protected]> wrote:
> OK i figured out the Ajax submit with jQuery. Now I have run into 
> another problem....
> I have a edit link, click loads a form that only has checkboxes to 
> select from...user selects the ones they want...save and the form 
> saves and loads the updated selections.
>
> Problem is that the form selected checkboxes and the returned view are 
> the same after the first update. If I clear my browser cache after 
> every save looks right....
>
> I added
> <cake:nocache>
> form here
> </cake:nocache>
>
> and
>
> <cake:nocache>
> updated contentthat gets returned
> </cake:nocache>
>
> So if i update selections and save....say opps i forgot 1 click edit 
> again the checkboxes appears as they did originally and the newly 
> updated options are not returned after the save....they save to the
database though.
>
> Ideas?
>
> Thanks
>
> Dave


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to