mirror of
https://github.com/lovell/sharp.git
synced 2026-02-08 23:56:16 +01:00
Docs: Clarify trimming of existing cache entries #487
This commit is contained in:
@@ -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.
|
`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.
|
This method always returns cache statistics, useful for determining how much working memory is required for a particular task.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
|||||||
Reference in New Issue
Block a user