resource invalidation is optional