script

英[skrɪpt] 美[skrɪpt]

n.Script, handwriting; written typeface; script, broadcast script or movie script

vt.Write a script for a movie (or drama, etc.); make up

Third person singular: scripts Plural: scripts Present participle: scripting Past tense: scripted Past participle: scripted

load

英[ləʊd] 美[loʊd]

n.Load; load; burden; workload

vt. To bear; to load; to... Load or load; fill, pile up

vi.Load; load; load

Third person singular: loads Plural: loads Present participle: loading Past tense: loaded Past participle: loaded

redis SCRIPT LOAD command syntax

Function:Add the script script to the script cache, but do not execute the script immediately.

Syntax:SCRIPT LOAD script

Available versions:>= 2.6.0

Time complexity :O(N), N is the length of the script (in bytes).

Returns:SHA1 checksum of the given script

redis SCRIPT LOAD command example

redis> SCRIPT LOAD "return 'hello moto'" "232fd51614574cf0867b83d384a5e898cfd24e5a" redis> EVALSHA 232fd51614574cf0867b83d384a5e898cfd24e5a 0 "hello moto"