0👍
The __WB_REVISION__
parameter requests are generated by Workbox during the precaching step of service worker installation.
If you’re dealing with URLs that already include hashes in them (which appears to be the case), then you can avoid those extra requests by configuring the Workbox build tool being used "under the hood" to recognize those hashes. Setting dontCacheBustURLsMatching: /\.[0-9a-f]{8}\./
would seem to be the right configuration for your usage, where there’s an 8 character hash surrounded by .
.
Additionally, if you’re using workbox-webpack-plugin
v6.x and webpack
v4.40+ or v5.x, you wouldn’t need to configure anything extra, as Workbox will make use of new immutable
metadata that webpack
adds to assets that include hashes.
- [Vuejs]-Definition for rule 'vue/require-prop-types' was not found vue/require-prop-types
- [Vuejs]-How to disable a tab without content on my website in vue.js
Source:stackexchange.com