Add docs for cache prop.
This commit is contained in:
parent
9f422c4a74
commit
23055db62b
14
README.md
14
README.md
|
@ -121,9 +121,17 @@ Headers to load the image with. e.g. `{ Authorization: 'someAuthToken' }`.
|
|||
|
||||
### `source.priority?: enum`
|
||||
|
||||
- `FastImage.priority.low` - Low Priority
|
||||
- `FastImage.priority.normal` **(Default)** - Normal Priority
|
||||
- `FastImage.priority.high` - High Priority
|
||||
- `FastImage.priority.low` - Low Priority.
|
||||
- `FastImage.priority.normal` **(Default)** - Normal Priority.
|
||||
- `FastImage.priority.high` - High Priority.
|
||||
|
||||
---
|
||||
|
||||
### `source.cache?: enum`
|
||||
|
||||
- `FastImage.priority.immutable` - **(Default)** - Only updates if url changes.
|
||||
- `FastImage.priority.web` - Use headers and follow normal caching procedures.
|
||||
- `FastImage.priority.cacheOnly` - Only show images from cache, do not make any network requests.
|
||||
|
||||
---
|
||||
|
||||
|
|
Loading…
Reference in New Issue