Closed
Bug 817691
Opened 12 years ago
Closed 9 years ago
Reinstall a web app should refresh the browser cache
Categories
(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P3)
Firefox for Android Graveyard
Web Apps (PWAs)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: ianbicking, Unassigned)
Details
(Whiteboard: [WebRuntime])
I've developed a webapp (http://xmasapp.ianbicking.org/install.html) and installed it as an app on Android (Nightly). After updating the application on the server, I can't get any updates to appear on my device.
I've tried deleting and reinstalling the application (where by "deleting" I just removed the link from the home screen). Nightly itself shows the updated version of the page. I don't have any appcache setup on the app.
Comment 1•12 years ago
|
||
Ian - What was updated with the application? The manifest? JS?
Trying to better understand how to generally reproduce this (STR).
Flags: needinfo?(ianb)
Reporter | ||
Comment 2•12 years ago
|
||
I updated the content of the front page, but not the manifest.
The headers on the content:
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 06 Dec 2012 17:23:13 GMT
Content-Type: text/html
Content-Length: 37784
Last-Modified: Mon, 03 Dec 2012 16:43:27 GMT
Connection: keep-alive
Expires: Fri, 07 Dec 2012 17:23:13 GMT
Cache-Control: max-age=86400
Accept-Ranges: bytes
The max-age is 24 hours (this is what Github Pages adds, and cannot be overridden). The content persisted in my app longer than that. A couple days later when I updated Nightly it appeared to clear that cache.
I think you could reproduce by creating an app, installing it, and updating the content of the app (on the server) and seeing that the content in the app has not changed.
Also I believe regardless of cache headers, when reinstalling the app the content it would be best to refresh the content.
Flags: needinfo?(ianb)
Updated•12 years ago
|
Blocks: Apps-Dev-Doc-Needed
Keywords: dev-doc-needed
Updated•12 years ago
|
No longer blocks: Apps-Dev-Doc-Needed
Keywords: dev-doc-needed
Summary: Cannot refresh Android open web app → Reinstall a web app should clear the browser cache
Updated•12 years ago
|
Summary: Reinstall a web app should clear the browser cache → Reinstall a web app should refresh the browser cache
Updated•12 years ago
|
Priority: -- → P3
Updated•11 years ago
|
Whiteboard: [WebRuntime]
Comment 3•9 years ago
|
||
Per bug 1235869, we're going to disable the Android web runtime, so we won't fix this bug in it.
(This is part of a bulk resolution of bugs in the Firefox for Android::Web Apps component, from which I attempted to exclude bugs that are not specific to the runtime, but it's possible that I included one accidentally. If so, I'm sorry, and please reopen the bug!)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•