Module:UtilsCache

local p = {}

local LuaCache = mw.ext.LuaCache

function p.get(key) return LuaCache and LuaCache.get(key) end

function p.set(key, value) if LuaCache then LuaCache.set(key, value) end end

function p.setMulti(entries) if LuaCache then LuaCache.setMulti(entries) end end

function p.delete(key) if LuaCache then LuaCache.delete(key) end end

return p