English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Redis Script Flush Command

Redis Scripts

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

Online Examples

redis 127.0.0.1:6379> SCRIPT FLUSH
OK

Redis Scripts