mimimal
This commit is contained in:
parent
ad300673ee
commit
44f6057e7a
8 changed files with 35 additions and 15 deletions
|
@ -12,21 +12,9 @@ module.exports = {
|
|||
options: {
|
||||
// Use a custom cache name.
|
||||
cacheName: 'imageinternet',
|
||||
|
||||
// Only cache 10 images.
|
||||
|
||||
},
|
||||
},
|
||||
{
|
||||
urlPattern: /https:\/\/amp-api.music.apple.com\/v1\//,
|
||||
handler: 'StaleWhileRevalidate',
|
||||
options: {
|
||||
cacheName: 'amp-api',
|
||||
cacheableResponse: {
|
||||
statuses: [0, 200],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
urlPattern: /https:\/\/is[0-9]-ssl\.mzstatic\.com\/image+/,
|
||||
handler: "CacheFirst",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue