Update dag_link.rb

Methode delete_cache is specific to each class and module.