Commit 42e51f1
committed
Remove no-op fetch event handler from service worker
- Removed the fetch event listener that was just passing through to browser default behavior
- This eliminates the 'no-op fetch handler may bring overhead during navigation' warning
- Service worker now only contains essential handlers: install, activate, push, and notificationclick
- Improves performance by removing unnecessary event listener overhead1 parent ac42c42 commit 42e51f1
1 file changed
+0
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 16 | | |
22 | 17 | | |
23 | 18 | | |
| |||
0 commit comments