Christoph

Thanks!
Apparently loadJSONDoc does a GET instead of a POST.
If I'm not mistaken POSTs aren't ever cached?
So if you could convert a loadJSONDoc to a POST wouldn't
that solve the caching issue AND let you send more data?
Seems a win-win all around.  Is that possible?

Chris

On Jan 9, 12:00 pm, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] schrieb:
>
> > It seems AJAX/MochiKit code must always fight the cache because
> > the cache can prevent some AJAX/MochiKit calls from getting
> > executed?
> > That seems annoying.
>
> > I had to learn to
> > add ?timestamp=time to all my URLs in AJAX/MochiKit to prevent the
> > browser from
> > skipping that function because the URL was already in the cache.
>
> > Is that what everyone else does too?
>
> Seems so. If you call the parameter "tg_random" instead of "timestamp",
> then it is automatically thrown away by TG.
>
> -- Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to