hide and show leveraging the cache