Collectible code reference cache