Add getcache function, process channels on load