Unfortunately I haven't a public page demonstrating the bug ; this was
approximately my testing code :
var files = [my_jsp_url_string,my_js_url_string,my_img_url_string];
function onCapture(url,success,captureId) {
if (!success)
alert("bad url:"+url);
else
alert("ok url:"+url);
}
store.capture(files, onCapture);
I always had "bad url" for js/img/css files that were already loaded, and
"ok url" for anything else.
2009/5/28 Michael Nordman <[email protected]>
>
> That would be a bug... it should indicate success = true upon
> receiving a 304 response... have you observed what the actual
> repsponse code is from the server?
>
> Do you have a reproducible test case you can point us to... link to a
> page that demonstrates the problem?
>
> On Tue, May 26, 2009 at 4:42 AM, gfipierre<[email protected]>
> wrote:
> >
> > When using the ResourceStore "capture" method, the callback function
> > receives a success=false parameter anytime a static resource (like a
> > js or css file) not-modified is captured.
> > Is it a bug, or does the documentation lacks this precision ?
> >
> > Then, how is it possible to distinguate a not-modified successfully-
> > captured file from an uncapturable resource ?
> >
> > Thanks
> > Pierre
> >
>