[Webkit-unassigned] [Bug 117007] Memory-cached file: resources should be revalidated when accessed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 4 17:56:36 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=117007





--- Comment #4 from Darin Adler <darin at apple.com>  2013-06-04 17:55:09 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > On some platforms at least, Mac for example, maybe we could do something based on registering for file system notifications for everything in the cache.
> 
> Oh, I like this idea. It looks like this can ben done rather easily on platforms that support libdispatch by creating a dispatch source of type DISPATCH_SOURCE_TYPE_VNODE. There are also FSEvents on the Mac, but it can only monitor a directory whereas DISPATCH_SOURCE_TYPE_VNODE lets you monitor specific files.

To correctly monitor the “contents of file at this path” you might need to monitor both the contents of the file and the contents of the directories in the path.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list