Closed
Bug 334958
Opened 20 years ago
Closed 18 years ago
Download manager caching old version of file, after file has been updated uses old version of file
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: mailing_lists, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
A Word document is located on our company Intranet. When the link to the file is clicked on it opens in Word. What we're finding is that when the Word file is updated, Firefox doesn't open the new version. It seems to use the cached version in the temp directory and make a new copy of it in the temp directory, appending a number to the file name.
The only way to stop this from happening is to close Firefox down completely and restart.
Reproducible: Always
Steps to Reproduce:
1. Click link to Word Document, use Open With to open in Word.
2. Alter the Word Document and save it with the same file name.
3. Click link to Word Document, use Open With to open in Word.
Actual Results:
The old version of the Word document is opened instead of the new version.
Expected Results:
It should have opened the updated Word document instead of the the cached older version.
Comment 1•19 years ago
|
||
Confirmed by a regular user: I had almost the identical problem, except the file was on the internet instead of an intranet. I think the server is unlikely to be the problem, because IE 7 (7.0.5730.11) worked fine. (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1)
Comment 2•19 years ago
|
||
biesi, we only use the cache if the server doesn't indicate that the file has updated, correct?
Comment 3•19 years ago
|
||
we use the cache if the file hasn't expired from it yet. if it is expired we ask the server if it changed.
Comment 4•19 years ago
|
||
Is that the right behavior? I mean, if the server has said it has changed, it seems to me like we should get a new copy instead of using the cache.
Comment 5•19 years ago
|
||
hm? I think you misunderstood me. In the cases where we contact the server and tells us the file changed, we do use the new data.
But we don't always contact the server.
Comment 6•19 years ago
|
||
Nope, I understood you - I'm just arguing that maybe we should ask the server if the file has changed before we check the cache, and if it has, don't use the cache.
Comment 7•19 years ago
|
||
the point of cache is to avoid asking the server when we can...
Comment 8•19 years ago
|
||
for the data, sure, but for something like a HEAD request - it just seems to me that this is a use case where we should check with the server.
Comment 9•19 years ago
|
||
comment 0 says this download started as a normal pageload. also, we don't do HEAD requests for downloads (anymore).
Comment 10•19 years ago
|
||
if you want to make "save link target as" always check with the server, you can just set the VALIDATE_ALWAYS load flag.
Comment 11•18 years ago
|
||
Resolving old UNCONFIRMED Download Manager bugs as INCOMPLETE. If you still see this issue, please reopen.
To mark all these bug changes as read, filter on ONOMATOPOEIA.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INCOMPLETE
| Assignee | ||
Updated•18 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•