📄️ invalidateCache
Used when a tool needs to forcefully remove a cached item.
📄️ useCache
The useCache method is used to provide tools with an abstract layer of caching that easy to use. The method takes 3 arguments - name, function and expiry. When used, useCache will use the data from the cache if it exists, and if the expiry time did not pass. If it cannot use the cache, useCache will run the function and cache it for next time.