I am investigating a problem with jQuery, Ajax and browser caches.
We're using jQuery to get a piece of html from the server via Ajax. When this is not cached, it takes about 10ms to respond (according to Firebug). It does not matter if this is a 200 or a 304 response. When the browser doesn't go to the server (which I see in Firebug by the grey lines and the cache response headers), FireBug reports a 'waiting' time of over 200ms.
Anybody got hints on what is wrong here?
Edit: It is probably Firebug that's slowing the cache down. Closing Firebug gives a much snappier page.