SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Windows XP

Why does Firefox downloads the cached image again while saving?

(15 posts)
  • Started 4 years ago by algotechie
  • Latest reply from Ravag
  • Topic Viewed 6230 times

algotechie
algotechie
Posts: 110

The browser Firefox has a peculiar behavior no other browser has. When I tell it to save an image from a web page which it has loaded, it starts downloading it from the web even though the image is already displayed on the page. All other browsers just save the cached images when the users intend to save them. Why doesn't FF do the same? Is there a way to tell FF to save the cached image (and not download it again) when I click Save?

I hope the question was clear. Thanks in advance for any suggestions or workarounds.

Posted 4 years ago
Top
 
LH
LH
Posts: 20002

Could it be that you want to save the image to disk ? It is the whole webpage that is cached, not the individual images.
Are you using an add-on to to this ?

Posted 4 years ago
Top
 
algotechie
algotechie
Posts: 110

Hi LH

Yes I want to save the image (picture file like GIF, JPG, PNG, etc.) to the disk. The files are always downloaded again, no matter whether I use the built-in download-manager (or whatever it is called, sorry I don't know its exact name) of FF or an add-on like DownThemAll.

Is the page cached as a whole, like an MHT or ZIP or some other archive file? Well, in that case, probably the image would have to be downloaded again since not all archive types allow individual files to be extracted. But I have one doubt. If that were the case, then I must be able to save a complete page instantaneously, which is not the case. As you can check, saving the complete page again initiates the download of each individual element (pictures, HTML files, CSS, JS, etc.) again. Why is that the case if the whole page is already cached?

Maybe this is again due to the fact that the users normally wanna save the page in HTML format (with the other elements like images etc. as separate files), and not as a whole mass. But then, it's a very bad strategy on the part of Mozilla (if it really caches the whole page as a single file, which I don't know). No other browser caches the page as a whole.

Sorry if I went off-topic. I hope I provided the info that you asked for. Please ask anything again if I'm not clear. Thanks.

Posted 4 years ago
Top
 
LH
LH
Posts: 20002

Could be the same problem as when you download a program, leave the download page open, and restart FF, it tries to download again. Maybe.

Posted 4 years ago
Top
 
algotechie
algotechie
Posts: 110

I almost determined that's not the same case. The program file's download starts again because:

It's not cached,

The server doesn't support resumption of downloads,

The download link changes with time or with every click (a script, most likely server side, does this with the aid of a random 32 or 64 charactered string).

Since these reasons are not specific to the browser, so a program file would start downloading again in ALL the browsers, provided any of the above conditions is fulfilled. But that is not the case with the image files. Other browsers copy them from cache when saved. Only FF downloads them again.

OK. To get a more solid feel of what I'm trying to explain, please load a web page with some image on it in FF and in another browser of your choice. Let the page (and the image on it) load fully. Now try to save the image on both the browsers. You'll realize what I mean. (The image should be big enough, or the connection should be slow enough, so that you know when it starts downloading again.)

Posted 4 years ago
Top
 
LH
LH
Posts: 20002

I cannot re-create it in FF. Could you link me to an image that doesn't work for you,

Posted 4 years ago
Top
 
algotechie
algotechie
Posts: 110

The situation is the same with all the images on the image, means you can take any webpage with ANY image. Let me explain it more fully. Open any webpage with some image on it. Let it load fully in the browser. Once it's been loaded, the image on it has been downloaded to the cache folder (or in the RAM), right? (That's how we're seeing it on the page.) So the image is already on our computer.

Now, in any browser other than FF, when you right click the image and click Save Image (or a similar command), the browser copies the image from the cache/RAM to the location you specify.

In case of FF, it starts downloading the image again! It doesn't make use of the image already downloaded to the computer's cache/RAM. That is what I'm trying to point out.

If I'm still unclear, please just leave this topic. I think it's a mistake on Mozilla's part. They keep on getting new features on the newer versions without getting even the BASIC features to work first! They have to realize that the users can live without all the eye candy they're trying to introduce for the upcoming versions (especially when all of that can already be done via add-ons), but the basic features need to be fixed first. How many times have you noticed that FF cannot save or print a web page right? Anyway, that was a bit off-topic.

There's one more request from HowToGeek. Could you please provide the subscription to particular threads via email? I don't keep checking all the threads all the times. So when someone answers a question after quite a long delay (like the above reply by LH), I just won't know about it. Even this one I happened to notice since I saw it in the email sent to me by HTG. (RSS/ATOM feeds are not an option for me.) Thanks.

Posted 4 years ago
Top
 
LH
LH
Posts: 20002

I understand what you are saying. It's just that I am saying it works fine for me in FF.
So unless someone else has the same problem, or knows of it, I don't know what more I can say.

Posted 4 years ago
Top
 
algotechie
algotechie
Posts: 110

Alright. Thanks for your understanding. I'll wait. I'll keep checking biweekly or so until Mozilla fixes it. I've also reported in their own forum but they're not interested it seems.

Posted 4 years ago
Top
 
LH
LH
Posts: 20002

I now see your problem. I think you will need an add-on. Here's a couple to start with,
https://addons.mozilla.org/fr/firefox/addon/3404
https://addons.mozilla.org/en-US/firefox/addon/614

Posted 4 years ago
Top
 
algotechie
algotechie
Posts: 110

Hey, LH seems to be spot on again! Seems like the first link is exactly what I need (by its description). I'll install it today, and will (hopefully) mark the problem as solved tomorrow. Wonder how you got it while I missed it during the search LOL!

Thanks again!

Posted 4 years ago
Top
 
LH
LH
Posts: 20002

Hope it works :)

Posted 4 years ago
Top
 
LH
LH
Posts: 20002

And if you want to get the images from the cache when you are offline. I think this may do it,
http://www.nirsoft.net/utils/m.....iewer.html

Posted 4 years ago
Top
 
algotechie
algotechie
Posts: 110

The add-on at https://addons.mozilla.org/fr/firefox/addon/3404 does not actually do what it promises. It starts downloading the images when asked to save. It should actually NOT be installed since it doesn't provide you with an option to redownload if the download stops sometimes for any reason. In case of direct download, at least you get a list of files downloaded or that failed to download so you can go to the download page again. (And, though not everyone may agree, it's a matter of ethics to not use an application that says something else and does something else.) I strongly hate this add-on now.

THE ADD-ON SAVE IMAGE AT https://addons.mozilla.org/fr/firefox/addon/3404 SHOULD NOT BE USED; IT TELLS YOU THAT IT SAVES IMAGES FROM CACHE WHICH IS ABSOLUTELY FALSE. IT DOWNLOADS THE IMAGES AGAIN WHEN YOU SAVE THE IMAGES THROUGH IT.

The other software at http://www.nirsoft.net/utils/m.....iewer.html does exactly what it promises and is quite good. But there's an inherent limitation to it: Since Firefox saves its cache data only when it exits, the mentioned program doesn't have access to the cache of the files currently being created by FF. In other words, when I open a web page and load it fully with its images, the cached data cannot be accessed just yet by the program MozillaCacheView, and hence I'm again unable to save it directly from cache. (I'll have to close FF every time I want to save a new image. You can imagine it's worse than downloading it again.)

Besides, not all the images displayed on the page are being cached and can be found in the cache after closing the browser; some are just loaded into RAM that vanish as soon as we close all the pages using them or when we exit the browser. There's no way to tell the browser which images to save in the cache and which to load into the RAM.

Many thanks to LH anyway for all the efforts put into suggesting these links. I look forward to suggestions from other members who might have solved the problem.

Posted 4 years ago
Top
 
Ravag
Posts: 1

Hi,

I always had the same problem with mozilla.

Unless what you said, https://addons.mozilla.org/fr/firefox/addon/save-images/ DOES use the cache. Problem is that some images that are still displayed in the tab can be removed from the cache, for instance when you loaded many other images or pages after displaying the first one. I do use this add-on with 4chan threads displayed on tabs but already offline (4chan thread's life is no more than a few minutes...), and it DOES save most of the pictures although they are not online anymore. Just some of them are not saved, when they are not in cache anymore (although displayed).

There is a way to list the effective content of the mozilla cache: type "about:cache" in URL then click on "List Cache Entries" - so you can verify what I say.

Ravag

Posted 2 years ago
Top
 



Topic Closed

This topic has been closed to new replies.

Enter Your Email Here to Get Access for Free:

Go check your email!