-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using cache name as idb name for precaching #1346
Conversation
PR-Bot Size PluginChanged File Sizes
New FilesNo new files have been added. All File SizesView Table
Workbox Aggregate Size Plugin☠️ WARNING ☠️We are using 158% of our max size budget. Total Size: 23.21KB Gzipped: 9.24KB |
* @private | ||
*/ | ||
constructor() { | ||
this._db = new DBWrapper(`workbox-precaching`, 2, { | ||
constructor(dbName) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wanted to double-check: it looks like the existing codebase is already passing in a string parameter when calling this constructor, even though it was previously being ignored. So now the change is that you're using that string value inside of this constructor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exactly.
Fixes #1344