Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Redis Script Flush Command

Redis Script Flush Command

Redis Scripting

The 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 Version

= 2.6.0

Return Value

Always returns OK

Example



redis 127.0.0.1:6379> SCRIPT FLUSH

OK

Redis Scripting