removing invalidate cache logic