I’d like to increase Defold open speed by not redownloading extensions that are up to date.
For instance most of the time they are hosted at GitHub which provides API to get latest commit info or release info. The extension URL can be parsed to check if master is requested or a release is requested and by invoking certain API we can check if there were any changes since the last fetch.
For master we can check commit.sha
https://api.github.com/repos/lerg/extension-adjust/branches/master
For release we can check published_at
https://api.github.com/repos/lerg/extension-adjust/releases/tags/1.0