Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Support for the dontCacheBustUrlsMatching option in the CLI. #218

Merged
merged 1 commit into from
Nov 23, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ function setDefaults(cli, configFileFlags) {
(('clientsClaim' in configFileFlags) ?
configFileFlags.clientsClaim : undefined);

compositeFlags.dontCacheBustUrlsMatching =
compositeFlags.dontCacheBustUrlsMatching ||
configFileFlags.dontCacheBustUrlsMatching;

return compositeFlags;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sw-precache",
"version": "4.2.2",
"version": "4.2.3",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally suggest not bumping package versions in feature PRs, but you know what you're doing :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, good practice for the future.

"description": "Generates a service worker to cache your local App Shell resources.",
"author": {
"name": "Jeff Posnick",
Expand Down