Redis Script Flush Command

Redis Script

Redis Script Flush command is used to clear all Lua script caches.

Syntax

The basic syntax of the Redis Script Flush command is as follows:

redis 127.0.0.1:6379> SCRIPT FLUSH

Available Versions

>= 2.6.0

Return Value

Always returns OK

Example

redis 127.0.0.1:6379> SCRIPT FLUSH
OK

Redis Script

Other Extensions