In PluginAvailability, the very least we can do is to only make 1 HTTP per plugin.
Even better: we use Composer\Cache to store the status information globally for a certain amount of time. This would be ideal when using the script in lots of projects.
Implementing #3 would make this rather easy. We can simply store the resulting JSON files in a separate folder in the global composer directory thanks to Composer\Cache.
In
PluginAvailability
, the very least we can do is to only make 1 HTTP per plugin.Even better: we use
Composer\Cache
to store the status information globally for a certain amount of time. This would be ideal when using the script in lots of projects.