I found that update:output-cache() is in module db. Wiki describe output-cache() in update module.
Thanks for the info. I have updated our documentation. The function is now called update:cache(), and the legacy function db:output-cache() will be removed in a future version of BaseX.