Skip to content

Commit

Permalink
Merge pull request #15 from rumitparakhiya/patch-1
Browse files Browse the repository at this point in the history
Fixed comment describing whitelist and blacklist
  • Loading branch information
saintmac committed Nov 14, 2016
2 parents 40cea8f + c84b4a3 commit 0a8a224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ In your app module definition, add `ngCacheBuster` as a dependency
# configure

AngularCacheBuster adds a cache buster to any $http requests (and hence to $resource requests).
Since you probably want to maintain browser caching for your views, partials or other routes, you can supply a list of regexes that will be matched against all URL's. By default the supplied matchlist is a whitelist (i.e. busting everything not matching an entry in the list) but you can also set it to be a blacklist, (i.e. busting everything except the matching entries)
Since you probably want to maintain browser caching for your views, partials or other routes, you can supply a list of regexes that will be matched against all URL's. By default the supplied matchlist is a whitelist (i.e. busting everything not matching an entry in the list) but you can also set it to be a blacklist, (i.e. busting everything matching entries)

For instance, if you want to bust everything except views in a 'partials' folder and images in a 'images' folder , you can configure AngularCacheBuster this way:

Expand Down

0 comments on commit 0a8a224

Please sign in to comment.