[Webkit-unassigned] [Bug 7393] XMLHttpRequest responses are never cached

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Mar 1 11:38:22 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7393


ap at nypop.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-                     |ap at nypop.com
                   |unassigned at opendarwin.org   |
             Status|NEW                         |ASSIGNED
   Attachment #6790|                            |review?
               Flag|                            |




------- Comment #1 from ap at nypop.com  2006-03-01 11:38 PDT -------
Created an attachment (id=6790)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=6790&action=view)
proposed patch

OK, my tests show that caching of XMLHttpRequest responses does work properly
(in Safari with current WebKit builds, at least). Just don't add an
If-Modified-Since header manually, and NSURLConnection will take care of the
rest, and will return a 200 response. It returns a cached response if possible,
or issues a conditional request if re-validation is needed.

If this doesn't work for Dashboard widgets, which I haven't checked, then
perhaps Dashboard always forces a reload of the main document, which defeats
caching of subresources and XMLHttpRequests. Dashboard is closed source, so
you'd need to file a bug via <http://bugreport.apple.com>.

I think this comment is stale, the patch just removes it.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list