Due to some issue where I need to clear all the cache data on the Redis cache hosted on the Azure.In other words by using the Azure portal.Not by using my application.One option I can think of is,Delete the Redis cache instance and recreate it.But do you know better way for doing that ? I'm using StackExchange.Redis.dll
Update 2 :
Could you tell me how to get public key in PEM format
? On the doc here it says this The easiest way to run this command in Windows - MSYS2
.I don't have any idea about that.
Update 1 :
Could you tell me why this is happening when I use the redis-cli
?
Clearing your Azure Cache for Redis of previously cached items is easy. First go to your Redis instance and click on Console as shown below… … and then run the flushall command.
To flush the local cache logs, stop and restart the app. This action clears the old cache.
To reboot one or more nodes of your cache, select the nodes and select Reboot. If you have a premium cache with clustering enabled, select the shards to reboot, and then select Reboot. After a few minutes, the selected nodes reboot, and are back online a few minutes later.
For the time being, there is no deactivate or disable command.
For Azure's Redis service, the Azure portal has a built-in console (which is in Preview):
At this point, it's as simple as executing a flushall
command:
If you're running Redis in, say, a VM, you'll need to use a tool to connect remotely to the cache and run the flushall
command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With