Check whether one or more scripts are cached.

Section: Lua scripts and functions

Check cached scripts

bash
bash
SCRIPT EXISTS <sha1>

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Lua scripts and functions
Load a Lua script
Cache a Lua script and return its SHA1.
OpenIn sheetbashsame section
Clear cached scripts
Remove all cached Lua scripts.
OpenIn sheetbashsame section
Run a Lua script
Execute Lua server-side atomically.
OpenIn sheetbashsame section
Run a cached Lua script by SHA
Execute a previously loaded Lua script.
OpenIn sheetbashsame section
Load a Redis function library
Load a function library into the server.
OpenIn sheetbashsame section
List loaded function libraries
Inspect currently loaded libraries and functions.
OpenIn sheetbashsame section