Well I'm thinking that the Last-Modified header might not be so useful, but the ETag header definately would;

If the results of a query haven't changed, and then the api could check for a matching If-None-Match request header, thus allowing an interface lib (or in the case of the javascript api, the browser cache) to be more responsive when dealing with queries that return large result sets or otherwise do an extensive number of sub-queries based on the query result (if the main query results haven't changed, then the sub query results aren't likely to change either).


~ Marv.

Chris Radcliff wrote:
Hi Marv,

As far as I know, the API doesn't send those out. The responses are always assumed to have a last-modified date of "now". Given that, is there a case where having either of them would help?

Cheers,
~chris

On Jun 24, 2009, at 8:02 AM, SignpostMarv Martin wrote:

Is it just me, or does the API not send out Last-Modified or ETag headers ?


~ Marv.



Reply via email to