Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce app size by outsourcing images #68

Open
Robbendebiene opened this issue May 4, 2022 · 2 comments
Open

Reduce app size by outsourcing images #68

Robbendebiene opened this issue May 4, 2022 · 2 comments
Labels
feature request New feature request

Comments

@Robbendebiene
Copy link
Member

Robbendebiene commented May 4, 2022

Currently the app uses about 50mb of storage just for photos. This is is about 70-80% of the total app size.
We probably should outsource the images to a server or github repository in combination with a local caching method like: https://pub.dev/packages/cached_network_image

Doing so would require an adjustment of the privacy policy.

grafik

grafik

@7h30n3 7h30n3 added the feature request New feature request label Oct 10, 2022
@7h30n3
Copy link
Member

7h30n3 commented Oct 10, 2022

I think before making a decision and implementing that feature we should list the pros and cons (for different use cases).

@Robbendebiene
Copy link
Member Author

Robbendebiene commented Oct 10, 2022

Some generel pros and cons:

Pros:

  • scalable
  • images can be updated without releasing a new app version
  • images from other websites/hosting providers can be used
  • potentially reduced storage, because not all images from the entire question catalog must be downloaded
  • faster app download/install/update

Cons:

  • requires additional images hosting provider
  • high chance of downloading images over cellular network instead of WiFi
  • increased image loading delay for the first time an image is displayed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request
Projects
None yet
Development

No branches or pull requests

2 participants