Skip to content

Temp/Cache Folder In order to save bandwidth #223

Description

@MrAshFar

What problem does this solve?

The app needs a cache or temporary folder (temp) for downloading assests/packages/whl files, I see, in every single try to installing an extension, the app tries to download ~ 3 GB file and if fails it will try again and again. so if there be a temp folder then first of all downloading this heavy file before installation that may fail it will save bandwidth. I mean download -> temp -> installation -> if failed -> temp -> installation again. I waited for a month to get new version of modly because previous version failed in installing extension and also the newly released one. and I used ~ 30 GB for installing extensions but failed no success.

Proposed solution

Steps:
1- First download large files
2- use tmp folder for first looking directory for downloading files
3- if exists use already downloaded file if not exists try to download it and put it in tmp
4- installation
5- if installation failed use already download or if there is new version clear cache (version x) and download new version y

Alternatives considered

No response

Confirmation

  • I have searched existing issues for this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions