From 7fc01969d9b7d7d24e8a8462591f7c3fda6123d6 Mon Sep 17 00:00:00 2001 From: Vernon de Goede Date: Tue, 28 Feb 2017 03:42:33 +0100 Subject: [PATCH] Fixed broken links in Readme (#254) --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b0199de..bb715af 100644 --- a/README.md +++ b/README.md @@ -467,13 +467,13 @@ your generated service worker file. Each `Object` in the `Array` needs a `urlPattern`, which is either a [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp) or a string, following the conventions of the `sw-toolbox` library's -[routing configuration](https://googlechrome.github.io/sw-toolbox/docs/master/tutorial-usage.html). Also required is +[routing configuration](https://googlechrome.github.io/sw-toolbox/api.html#main). Also required is a `handler`, which should be either a string corresponding to one of the -[built-in handlers](https://googlechrome.github.io/sw-toolbox/docs/master/tutorial-api.html) under the `toolbox.` namespace, or a function corresponding to your custom -[request handler](https://googlechrome.github.io/sw-toolbox/docs/master/tutorial-usage). -Optionally, `method` can be added to specify one of the [supported HTTP methods](https://googlechrome.github.io/sw-toolbox/docs/master/tutorial-api.html) (_default: `'get'`_). There is also +[built-in handlers](https://googlechrome.github.io/sw-toolbox/api.html#handlers) under the `toolbox.` namespace, or a function corresponding to your custom +[request handler](https://googlechrome.github.io/sw-toolbox/api.html#handlers). +Optionally, `method` can be added to specify one of the [supported HTTP methods](https://googlechrome.github.io/sw-toolbox/api.html#expressive-approach) (_default: `'get'`_). There is also support for `options`, which corresponds to the same options supported by a -[`sw-toolbox` handler](https://googlechrome.github.io/sw-toolbox/docs/master/tutorial-api.html). +[`sw-toolbox` handler](https://googlechrome.github.io/sw-toolbox/api.html#handlers. For example, the following defines runtime caching behavior for two different URL patterns. It uses a different handler for each, and specifies a dedicated cache with maximum size for requests