How To Cache A Function In Coding