views:

11

answers:

0

I wrote a simple snippet to load dynamically pages parts as fallows:

  function LoadParts(container) {
        $("a._Part", container).each(function () {
            element = $(this);
            url = $(this).attr("href");
            $.get(url, null, function (text, status) {
                var c = $(element).parent("span");
                c.html(text);
                LoadParts(c);
            });
        });
    }

I trace the traffic with Flidder while ibrowse it using IE8.0 and i saw a magic happens here, for some calls it use cache and for some other get a fresh one.