Caching Composer downloads to improve speed and reliability

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5727
    GMTA
    Participant

    Caching Composer downloads to improve speed and reliability

    #5728
    sproingie
    Guest

    For reliability in the face of downed repos, this looks useful. As speed goes … I thought composer did this already by default?

    #5729
    GMTA
    Guest

    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! 🙂

    #5730
    iquito
    Guest

    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.

    #5731
    cntx1
    Guest

    Is this still relavant with composer 2.0?

    #5732
    mnapoli
    Guest

    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.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.