░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/canvas/lib/canvas/cache_register
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: get_key.lua
local register_key = KEYS[1] local fallback_cache_key = ARGV[1] -- try to grab it local fetched_key = redis.call("get", register_key) if fetched_key then return fetched_key else -- if it's not there, then set it redis.call("set", register_key, fallback_cache_key) return fallback_cache_key end
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 get_key.lua
LUA
304 B
2023-09-24 03:36
EDIT
📄 get_with_batched_keys.lua
LUA
602 B
2023-09-24 03:36
EDIT