Generic CF Cache Code