This commit refactors the prefetch method in prefetch-on-demand_controller to use async/await for better error handling. The response from the workbox.messageSW method call is now awaited, and an event is dispatched based on the result, informing whether prefetching was successful or not.
Please be aware that Workbox will consistently return 'true', regardless of whether any of the URLs failed.
Essentially, the task is marked as completed, though there's no assurance it's stored in the cache.
This commit refactors the prefetch method in prefetch-on-demand_controller to use async/await for better error handling. The response from the workbox.messageSW method call is now awaited, and an event is dispatched based on the result, informing whether prefetching was successful or not.
Target branch: 1.2.x Resolves issue #192