We just introduced this and it'll be in 1.4:
http://github.com/jquery/jquery/commit/fbc73d45b487dd863886c7fd3f0af1fd4dec261b

Just specify a jsonpCallback to $.ajax and it will always hit the same URL.

--John



On Wed, Dec 30, 2009 at 11:33 AM, JimO <j...@thisismyworld.org> wrote:
> My applications all use a caching service and the random callback
> function name generated by the getJSON call breaks it.  I would like
> to be able to pass in a static callback name on the getJSON call so
> that I can cache the results of those feeds.  I understand there are
> risks involved with this approach but for people who cache their feeds
> the current implementation just doesn't work.
>
> For now I've had to build my own JSONP method that does this but it
> would be nice to tell clients they can use the jQuery method as most
> of them already use the library.
>
> Thanks!
> Jim
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "jQuery Development" group.
> To post to this group, send email to jquery-...@googlegroups.com.
> To unsubscribe from this group, send email to 
> jquery-dev+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/jquery-dev?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en.


Reply via email to