docs: Explicit cache output description (#97548)
Completing the input-output pair for cached functions.
This is addressing user confusion around what happens to a cached
function, and functions within the scope.
(cherry picked from commit 9b2387d23daabcb16b0172e4c8aa0cd85cbb93d0)