From 789dd6a0dab140b20e948b109e5f94f3b64022c9 Mon Sep 17 00:00:00 2001 From: Judy Bogart Date: Wed, 14 Aug 2019 11:57:50 -0700 Subject: [PATCH] docs(service-worker): mention that dataGroups only cache non-mutating requests (#32142) Fixes #28988 PR Close #32142 --- aio/content/guide/service-worker-config.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/service-worker-config.md b/aio/content/guide/service-worker-config.md index c2273b28cac0d..56d80f042badd 100644 --- a/aio/content/guide/service-worker-config.md +++ b/aio/content/guide/service-worker-config.md @@ -137,8 +137,9 @@ export interface DataGroup { Similar to `assetGroups`, every data group has a `name` which uniquely identifies it. ### `urls` -A list of URL patterns. URLs that match these patterns will be cached according to this data group's policy.
- _(Negative glob patterns are not supported and `?` will be matched literally; i.e. it will not match any character other than `?`.)_ +A list of URL patterns. URLs that match these patterns are cached according to this data group's policy. Only non-mutating requests (GET and HEAD) are cached. + * Negative glob patterns are not supported. + * `?` is matched literally; that is, it matches *only* the character `?`. ### `version` Occasionally APIs change formats in a way that is not backward-compatible. A new version of the app may not be compatible with the old API format and thus may not be compatible with existing cached resources from that API.