Composer install force download as tar instead of zip

510 views Asked by At

We are using envoyer for laravel project. Now every deploy takes almost 5 minutes. About 40s to download and unpack a new release.

The install composer dependencies takes about 150s. We figured out that it is actually loading it from the cache which are zipfiles. Unfortunately the server isn't dedicated because what we found out that unzip is just really slow. We tested the same thing on a server with dedicated hardware and it was really fast.

We're wondering if there's an option to download the composer packages in another format than zip. Something like tar.gz?

0

There are 0 answers