MozillaZine

Can one force Firefox to cache page contents?

Discussion of general topics about Mozilla Firefox
DVS_75
 
Posts: 1
Joined: May 4th, 2017, 4:03 pm

Post Posted May 4th, 2017, 4:20 pm

I am trying to save pictures (there are around thousand of them) from a social network, but when the album of photos form an account is viewed, the photo does not get cached neither on disk, nor in memory (checked "about:cache" page).

Can one force Firefox to cache page contents, or is there an add-on for this purpose? It will be easy then to just copy files from cache and add "jpg" extension programmatically.

Thank you.

dfoulkes

User avatar
 
Posts: 22072
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Post Posted May 5th, 2017, 7:36 am

I turn my cache off... but when you say 'nor in memory' does that mean that you had zero records in cache?

Unless you changed the setting Firefox should be caching stuff... have you checked Tool/Options/Advanced/Data choices ... that area controls how my cache Firefox is to keep...

You can also check this out... but I see that it pulls pics out of cache... so, not sure about it helping you.
Save Images :: Add-ons for Firefox
As you can see she's (The CAT) always alert and on the prowl for Meoware !!

malliz
Folder@Home

User avatar
 
Posts: 43090
Joined: December 7th, 2002, 4:34 am
Location: Aus

Post Posted May 5th, 2017, 6:54 pm

The website may have the nocache code enabled so as to save load on their server
What sort of man would put a known criminal in charge of a major branch of government? Apart from, say, the average voter.
"Terry Pratchett"

Ulf3000
 
Posts: 12
Joined: February 17th, 2017, 9:02 am

Post Posted May 20th, 2017, 11:41 am

one of my addons i made specifically for that (in my case a comic wegpage was always re-downloading the pictures and not using the cache :( )

https://addons.mozilla.org/en-US/firefo ... nto-cache/

name is self explanatory , just look at teh source code maybe you can modify it to automatically download or what ever you wanna do

GHM113

User avatar
 
Posts: 534
Joined: December 16th, 2015, 3:59 am
Location: Moscow, Russia

Post Posted May 20th, 2017, 12:04 pm

If that social network is vk then there might be easier way to download photos.
I am an idiot. Sorry for my poor English. Current list of config tweaks: https://pastebin.com/1dCT4Cvp

dfoulkes

User avatar
 
Posts: 22072
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Post Posted May 21st, 2017, 9:52 am

DVS_75
'If' that site allows any user to view those pics ... where we don't have to join... it would be best to post a link to the area that you area talking about.
As you can see she's (The CAT) always alert and on the prowl for Meoware !!

makaiguy

User avatar
 
Posts: 16436
Joined: November 18th, 2002, 6:44 pm
Location: Somewhere in SE USA

Post Posted May 21st, 2017, 10:22 am

malliz wrote:The website may have the nocache code enabled so as to save load on their server


Meant to ask about this a while ago, and forgot ....

Wouldn't setting nocache on the page mean that each time you go to the page you'd have to download it again, and thus INCREASE load on the server?
Doug Wilson, "The Makai Guy"
Win10 (64bit): FF 52.3.0 ESR (64bit), TB 52.3.0 (32bit)║ Android 7.0/6.0.2: FF 54.0.1, No TB for Android available, dammit!
What a fool believes he sees, no wise man has the power to reason away - Doobie Brothers

dickvl

User avatar
 
Posts: 52132
Joined: July 18th, 2005, 3:25 am

Post Posted May 27th, 2017, 3:49 pm

The currently used Cache2 disk cache doesn't save images and its data separately but uses one file to store meta data (HTTP response headers) and the file (image) data.
You can see that if you inspect the files in the cache in a file viewing utility or on the about:cache page.
See about:profiles for a button to go to the disk cache location.

There are extensions that can safe an image from the disk cache.
Save Images: https://addons.mozilla.org/firefox/addon/save-images/

Return to Firefox General


Who is online

Users browsing this forum: No registered users and 1 guest