Don't invalidate cache tag for getCodeComponent on deletion and manually delete cache instead

Closes #3510430

Merge request reports

Loading