Upstash Documentation

EVALSHA_RO

Evaluate a cached read-only Lua script server side.
1 min read

EVALSHA_RO is like EVAL_RO but instead of sending the script over the wire every time, you reference the script by its SHA1 hash. This is useful for caching scripts on the server side.

Arguments#

shastrrequired#

The sha1 hash of the read-only script.

keysList[str]required#

All of the keys accessed in the script

argsList[str]required#

All of the arguments you passed to the script

Response#