Cache the snap elements and update the cache on refresh