I think $rate should be $result here
Surely this should be $cache and not $conf here
$cache instead of $conf here too
$targetArchive doesn't exist in this method. Looks like it should be $destFile
Wrong variable name
Merge branch 'hotfix/rasmus'