Cache the VDC and VAPP in a custom template