- This topic has 5 replies, 1 voice, and was last updated 1 week, 3 days ago by mnapoli.
- January 13, 2021 at 1:39 pm #5727GMTAParticipant
Caching Composer downloads to improve speed and reliabilityJanuary 13, 2021 at 1:39 pm #5728sproingieGuest
For reliability in the face of downed repos, this looks useful. As speed goes … I thought composer did this already by default?January 13, 2021 at 1:39 pm #5729GMTAGuest
I’ve created a Composer plugin and reverse proxy system (basically automated configuration for nginx) to speed up our composer installs. It also functions as a shared cache between our development and CI machines and serves out stale caches if the source (e.g. Packagist or GitHub) is down.
Would love to get your feedback! 🙂January 13, 2021 at 1:39 pm #5730iquitoGuest
Great! I was a user of Toran Proxy exactly for this feature and have been looking for a replacement ever since. Because it happened to me once that I deployed and Github was down – doesn’t happen often, but it can happen, so why not avoid it entirely.January 13, 2021 at 1:39 pm #5731cntx1Guest
Is this still relavant with composer 2.0?January 13, 2021 at 1:39 pm #5732mnapoliGuest
FYI Packagist provides a paid alternative with these benefits (AFAIK): https://packagist.com
To those reading, if your company can afford it, it might be good to pay for the service as that supports one of the most critical PHP open-source project.
- You must be logged in to reply to this topic.