Closed Bug 884959 Opened 11 years ago Closed 8 years ago

Feature Request: Update cache upon local change

Categories

(Core :: Networking: Cache, defect)

21 Branch
x86_64
Windows 8
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: majuki, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release)
Build ID: 20130511120803

Steps to reproduce:

Upon downloading a page the cache is created, upon making modifications the cache is not updated accordingly which loses the changes upon navigating elsewhere then going back to the cached version.

A simple use case would be a user posting a comment to a page via AJAX which is also added where the textarea used to be.

The reason this would be helpful is three fold:

1) User sees what they expect by going back (the last state of the page they left)
2) User doesn't attempt to re-submit the data they might think is lost or refresh the page which, depending on page's code, may cause a re-submission of the comment or a previously submitted form.
3) Developers working on DOM modification code may require the last cached state

There are some obvious implications which may negate the feasibility of this request, namely the extra processing time by updating the cache and the timing of doing so as it can't be done on every DOM state change.  One possibility would be to cache it immediately prior to initiating the navigation to the next page.
Did you see this issue on other OSs or on the previous FF version?
It's a feature request not a bug.  But to answer your question it would be all OSes and current FF version.
Component: Untriaged → Networking: Cache
Product: Firefox → Core
webcompat wontfix
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.