Move a cache action to a repository