[IMP] refactor bundle ir.attachment cache invalidation