cache content only if current state is readonly