EVALSHARun a cached Lua script by its SHA1 digest.
| Syntax | EVALSHA sha1 numkeys [key [key ...]] [arg [arg ...]] |
| Group | script |
| Arity | -3 |
| Since | 1.0.0 |
| Flags | write |
| Complexity | O(1) cache lookup, then identical to EVAL |
| Redis compatibility | differs: same instruction-budget model as EVAL (no -BUSY, no SCRIPT KILL); the cache is process-wide and EVAL populates it |