[w3c/ServiceWorker] Service worker not intercepting the call intiated for CSS from JS files “ css:”css/custom.css" (#1386)

0


I have implemented an application with CK editor with Few additional plugin (LITE - Track Changes, Formatted, Color picker and i implemented service worker to make the application offline.

When i took offline the application is able to open and no CSS which called by the plugin is not available in the offline mode. when i debugged these CSS which getting called from the JS file of the plugin inside CK editor are not getting intercepted in the fetch event.

Approch1 : i manually load all the CSS that getting called from the [plugin.js] and all getting fetched by the service worker and able to cache [ Cache first approach]. Still when the application goes offline these are not getting retrieved from Cache API because these call not getting in fetch even
![zytsq](https://user-images.githubusercontent.com/3844100/51863939-5c824180-2310-11e9-97f7-5a05cbd19cb9.png)


If you see the network call only the CSS which i added in page load getting cached and even with same url the next call not getting fetched from Cache API. [ 5 calls going because i put 5 CKD in my screen and initiated separately ] 
![fh6nt](https://user-images.githubusercontent.com/3844100/51863973-70c63e80-2310-11e9-9c4e-1c76adb304d9.png)

Any thread to dig on this will be realy help full.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1386

Received on Monday, 28 January 2019 20:22:35 UTC