workbox-recipes
Methods
googleFontsCache
googleFontsCache(options)
An implementation of the Google fonts caching recipe
Parameter |
|||||||||
---|---|---|---|---|---|---|---|---|---|
options |
Optional Object Values in
|
imageCache
imageCache(options)
An implementation of the image caching recipe
Parameter |
|||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Optional Object Values in
|
offlineFallback
offlineFallback(options)
An implementation of the comprehensive fallbacks recipe. Be sure to include the fallbacks in your precache injection
Parameter |
|||||||||
---|---|---|---|---|---|---|---|---|---|
options |
Optional Object Values in
|
pageCache
pageCache(options)
An implementation of a page caching recipe with a network timeout
Parameter |
|||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Optional Object Values in
|
staticResourceCache
staticResourceCache(options)
An implementation of the CSS and JavaScript files recipe
Parameter |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Optional Object Values in
|
warmStrategyCache
warmStrategyCache(options)
Parameter |
|||||||
---|---|---|---|---|---|---|---|
options |
Object Values in
|