From 0ef723101846792e20ae9ba6420d5271ba6e928a Mon Sep 17 00:00:00 2001 From: Lucas Vieira Date: Sat, 13 Oct 2018 15:33:12 -0300 Subject: [PATCH] Fix typo for source.cache in docs. Thanks to https://github.com/DylanVann/react-native-fast-image/issues/274#issuecomment-418719314 for pointing this out --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 36f08d9..41d6bc2 100644 --- a/README.md +++ b/README.md @@ -129,9 +129,9 @@ Headers to load the image with. e.g. `{ Authorization: 'someAuthToken' }`. ### `source.cache?: enum` -- `FastImage.cache.immutable` - **(Default)** - Only updates if url changes. -- `FastImage.cache.web` - Use headers and follow normal caching procedures. -- `FastImage.cache.cacheOnly` - Only show images from cache, do not make any network requests. +- `FastImage.cacheControl.immutable` - **(Default)** - Only updates if url changes. +- `FastImage.cacheControl.web` - Use headers and follow normal caching procedures. +- `FastImage.cacheControl.cacheOnly` - Only show images from cache, do not make any network requests. ---