Oh, so is this not a one-time thing (to erase the cache)?
Well, I guess in that case you would need a custom extension indeed. You can maybe glance over posts by JonL mentioning “Redis” in the Wappler Extensions category
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.
That looks interesting. For now, I think I will just use the Wappler’s Redis setup.
With the various Redis functions available in Wappler itself, I think I can also save custom data.