`clearCache` is an available method in instant-meilisearch. Unfortunately it is not documented. It should be added in the README.md file. See https://github.com/meilisearch/instant-meilisearch/pull/808