Clean unuseful resources of live update

The missing resources are stored on the local storage(depends on the OS type).

Test on windows:

Image from the live update manual:
https://storage.googleapis.com/defold-doc/en/manuals/images/live-update/local-storage.png

In my current project, the exculded resources size are 9MB data(zip) with 1500+ files. This size will grow up soon and might reach 50+MB finally.


There will be lots of changes on so many files and there is no need to keep the old resources.

Will we have an API like resource.clean_unused(manifest, resource_clean_response) to remove these unuseful contents from the liveupdate.arcd according to the manifest?

1 Like

Yes, we have this in our backlog. It’s not planned yet but it’s pretty high on our list.

4 Likes