Caching the CPG