I had the same issue, so I ended up creating a custom caching module. The module takes a unique prefix that is added to every item stored in the cache. This means any operation related to this module can be scoped, so I can remove a specific key or clear the cache and it only affects the items with the prefix and prevents it form affecting the other Wappler scripts using the redis instance.
The other benefit is that you can cache specific actions and values as opposed to caching the entire request, which means server side scripts also get a performance boost if they use those actions as well.
If you’re using nodeJS, I would recommend this library.