Hi,
In the Course “Firebase Web App with ESP32 and ESP8266″
I notice that when I change something in the “index.js” and update the app with firebase deploy, the app is not (always) updating. After hours to understand why, I success by changing the name of file index.js, for exemple index_1.js and changing the path in the index.html file too. And it work !
Have you the same issue ?
If not how can you explain mine ?
Thanks for your reply
Regards
Pascal
Hi.
The javascript files are cached in the web browser.
So, you need to hard refresh your web browser when you update a javascript file or upload a file with the same name.
I hope this helps.
Regards,
Sara
Hi Sara,
Thanks for you fast answer.
I tried to hard refresh and the behaviour is the same.
I tried with several web browser (chrome, firefox, brave, opera)
Changing file javascript name is for the moment the only solution I found.
Regards
Pascal
That’s weird.
Did you deploy the application after making changes?
Can you take a look at the following link and see if it helps: https://stackoverflow.com/questions/3951187/javascript-file-not-updating-no-matter-what-i-do
Regards,
Sara