CacheStorage is a performacne sensitive API which can be used in service worker's fetch handler.
Currently, we are getting the interface pointer for CacheStorage by GetInterface() which is implemented by SWProviderHost. However, GetInterface() internally post a task to UI thread for creating a CacheStorageDispatcherHost, and post another task back to the IO thread for binding the interface request to the CacheStorageDispatcherHost.
If we can avoid the thread hopping, we may be able to avoid thread congestion.
Comment 1 by falken@chromium.org
, Jul 3Labels: -Type-Bug Target-69 Type-Bug-Regression