feat(cache): Add a JS interface to CacheRegister

return js.JsObject