Merged cache functions into functions.ini