fxpio / composer-asset-plugin

NPM/Bower Dependency Manager for Composer
MIT License
892 stars 156 forks source link

The package did not cached? #184

Closed lichunqiang closed 8 years ago

lichunqiang commented 8 years ago

Why everytime run the command and will download the packages again?

It's can like bower itself will cache the downloaded depends?

This made me crazy, It's no usage to download again, because of the version is not changed.

Tanks.

francoispluchino commented 8 years ago

The packages and dist are cached. Not the list of package versions.

lichunqiang commented 8 years ago
Downloading https://bower.herokuapp.com/packages/jquery
Writing C:/Users/light/AppData/Local/Composer/repo/https---bower.herokuapp.com-packages/jquery-6f2ab963b5a51d155d69ac091e52e506d1055057-package.json into cache
Adding VCS repository bower-asset/jquery
Downloading https://api.github.com/repos/jquery/jquery-dist

Why download jquery again,a new version found?

lichunqiang commented 8 years ago

LOL...

francoispluchino commented 8 years ago

You have a problem with your account? Because create more than 37 times the same comment is abused!

lichunqiang commented 8 years ago

@francoispluchino

I'm in china, the network is blocked, you know.

sorry for that....

lichunqiang commented 8 years ago

This is the reason why i want to know if will cache the depends like bower.

bower install package is fast.

francoispluchino commented 8 years ago

See the issues with the performance tag here.