[go: nahoru, domu]

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

Explain how to handle browser caching for Flutter web apps #7272

Open
RedHappyLlama opened this issue Jun 15, 2022 · 3 comments
Open

Explain how to handle browser caching for Flutter web apps #7272

RedHappyLlama opened this issue Jun 15, 2022 · 3 comments
Labels
e2-days Effort: < 5 days p2-medium Necessary but not urgent concern. Resolve when possible. t.networking Relates to networking within an app t.ui.assets Relates to adding or changing images, videos, and other assets target.web Target apps on the web platform

Comments

@RedHappyLlama
Copy link

What information is missing?

Hi,

I'm using AWS as my server / deployment for a web-app I'm working on.

I have managed to deploy my web-app a number of times. However for some reason every now and then a deployment never appears / goes live against the url, despite clearing cache & cookies.

Some info on how to ensure every build and deployment is a success when not using Firebase, Github Pages and Google Cloud would be great, to ensure this issue doesn't happen.

How would you like us to fix this problem?

Some info on how to ensure every build and deployment is a success when not using Firebase, Github Pages and Google Cloud would be great.

@danagbemava-nc danagbemava-nc added the st.triage.triage-team Triage team reviewing and categorizing the issue label Jun 16, 2022
@danagbemava-nc
Copy link
Member

Hi @RedHappyLlama, I'm not entirely sure what we can do here. Do you have this same issue when you use other hosting sites or is this issue only on AWS?

@RedHappyLlama
Copy link
Author

Hi,

I've managed to find https://medium.com/flutter-community/caching-in-flutter-for-web-42b3ae0e348f which is likely to help my issue. Could something similar be added to https://docs.flutter.dev/deployment/web ?

Apologies if this may be obvious to most, I am new to dev, particularly to web-dev.

Thanks

@danagbemava-nc
Copy link
Member

I think I understand your issue now.
There's a request on the main flutter repo to "relax" the caching of a flutter web app. The issue is here flutter/flutter#63500.

It contains some workarounds so I believe adding the link to that issue on the deployment page should suffice for now.

@danagbemava-nc danagbemava-nc changed the title Deploying through AWS doesn't always go live Document how to handle browser caching flutter webapps Jun 17, 2022
@danagbemava-nc danagbemava-nc added p2-medium Necessary but not urgent concern. Resolve when possible. e2-days Effort: < 5 days and removed st.triage.triage-team Triage team reviewing and categorizing the issue labels Jun 17, 2022
@atsansone atsansone added the target.web Target apps on the web platform label May 31, 2023
@atsansone atsansone changed the title Document how to handle browser caching flutter webapps Explain how to handle browser caching for Flutter web apps Jun 5, 2023
@atsansone atsansone added t.networking Relates to networking within an app t.ui.assets Relates to adding or changing images, videos, and other assets ltw-triage labels Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2-days Effort: < 5 days p2-medium Necessary but not urgent concern. Resolve when possible. t.networking Relates to networking within an app t.ui.assets Relates to adding or changing images, videos, and other assets target.web Target apps on the web platform
Projects
None yet
Development

No branches or pull requests

4 participants