hosting

Firebase Hosting Flutter Web App not clearing Cache of first deploy

☆樱花仙子☆ 提交于 2020-07-21 07:05:47
问题 We build a flutter web app and deployed it via firebase hosting. Unfortunately, we didnt configure any caching settings in our initial deploy. Now we deployed a newer version of our website but people still get the old website shown form the first deploy. What we tried so far: Adding version no. to our index.html: <"script src="main.dart.js?version=1" type="application/javascript"></script> Adding meta Data in our header in index.html: <meta http-equiv="Cache-Control" content="no-cache, no

Firebase Hosting Flutter Web App not clearing Cache of first deploy

一笑奈何 提交于 2020-07-21 07:03:08
问题 We build a flutter web app and deployed it via firebase hosting. Unfortunately, we didnt configure any caching settings in our initial deploy. Now we deployed a newer version of our website but people still get the old website shown form the first deploy. What we tried so far: Adding version no. to our index.html: <"script src="main.dart.js?version=1" type="application/javascript"></script> Adding meta Data in our header in index.html: <meta http-equiv="Cache-Control" content="no-cache, no