In my company, we build most of our projects using composer, which means a lot of repeated packages (same library with same version) getting downloaded from the internet across my different teams.
I have tried Satis Composer Server,but the problem is the cache is not generated on demand.
I want to implement a central caching service which can help implement runtime caching or on demand cache.
Is it possible to implement?
I've developed a solution for this exact problem, called Velocita:
https://github.com/isaaceindhoven/velocita-proxy
Works together with a Composer plugin. It improves reliability and performance of Composer installs and you can configure which locations you want to mirror.
Satis is still great for local repositories or proactively generated caches based on composer.json
contents, but Velocita allows for a more dynamic pull-through cache.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With