From 99f960bf564811a3681430208456baa0aa5de466 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Mon, 11 Jul 2016 09:42:19 +0100 Subject: [PATCH] Docs: Clarify trimming of existing cache entries #487 --- docs/api.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api.md b/docs/api.md index dacbc1e2..193e412c 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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