Easy Tutorial
❮ Hashes Hlen Server Slaveof ❯

Redis Script Flush Command

Redis Scripting

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

Syntax

The basic syntax for 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 Scripting

❮ Hashes Hlen Server Slaveof ❯