public static function generateKey(sfDynamicsAssetCollectionDefinition $package, $type) { return '/' . sfConfig::get('sf_environment') . (sfConfig::get('sf_debug') ? '/debug' : '') . '/' . $type . '/' . md5($package->getCacheKey()); }