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

Prevent download all media files when story modal opens #102

Open
gust-m opened this issue Jul 31, 2024 · 1 comment
Open

Prevent download all media files when story modal opens #102

gust-m opened this issue Jul 31, 2024 · 1 comment

Comments

@gust-m
Copy link

gust-m commented Jul 31, 2024

Following the current flow, as soon as the user clicks on any story avatar (opens the story), all medias are downloaded simultaneously, and they are downloaded once again while you are navigating through the stories.
Is it really necessary to download all media files when the modal appears? Or is there a way to prevent this, so as not to waste resources?

I actually did something like that, but is more like a workaround than a real solution, there are some flaws (but works), I can share it here if you think it could be useful

@LukasFridmansky
Copy link
Member

As far as I know, once the image is loaded, it will use cached image, so I think it doesn't download each time again

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

No branches or pull requests

2 participants