[jQuery] Workarounds for invalidating a cached representation on HTTP POST?

2009-08-01 Thread Dam
Hi all, How do you workaround the fact that, e.g., firefox doesn't invalidate a cached resource representation in the browser upon POSTing to the uri of the resource? My scenario is this: A Google Map GETs a resource (a list of geo. points) which is cached for an hour on the client to avoid the

[jQuery] Re: json indexing not working for me

2009-06-03 Thread Dam
Hi, It's kind of odd what you do: namely input nested JSON data as URI parameters in a GET request. It doesn't make sense to URL encode your data that has a nested object, so probably jQuery skips it. URI parameters are only key/value paris. POST can be used if you want to include arbitrary