mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
Docs: Clarify trimming of existing cache entries #487
This commit is contained in:
parent
83d8847f57
commit
99f960bf56
@ -727,6 +727,8 @@ If `options` is provided, sets the limits of _libvips'_ operation cache.
|
||||
|
||||
`options` can also be a boolean, where `true` enables the default cache settings and `false` disables all caching.
|
||||
|
||||
Existing entries in the cache will be trimmed after any change in limits.
|
||||
|
||||
This method always returns cache statistics, useful for determining how much working memory is required for a particular task.
|
||||
|
||||
```javascript
|
||||
|
Loading…
x
Reference in New Issue
Block a user