v0.5.6 🔗
Changes
- Add cache system (#533) @bidoubiwa
- [Security] Bump ansi-regex from 5.0.0 to 5.0.1 (#545)
Cache System
When performing a search, instant-meilisearch
used to re-request search results to the MeiliSearch instance every time. These HTTP requests are unnecessary in the case a user is performing a search with the exact same parameter as a previous search.
Now, when the same search is performed, the response is resolved through the cache system which holds all previous search responses.
The cache is renewed when reloading the webpage or by rerunning the script.
Thanks again to @bidoubiwa, @curquiza! 🎉