How make Opera 10.51 to cache only in RAM?

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

24. April 2010, 09:55:25

e-berlin

e-berlin

Posts: 69

How make Opera 10.51 to cache only in RAM?

Hi, I was playing with the Memory / Disc caching options in Opera 10.51 and I thought: 'What if I could cache all in RAM, it'd be way faster.' So I googled a bit and I found this article. The thing is I don't trust RAM drives in general so I'm asking if there's another way to do it (through about:config, Preferences)?

Do you think it'll start to cache everything in RAM if I disable Disc caching and leave only Memory caching with a value of 400MB in Preferences?

Thanks.

24. April 2010, 10:02:18

Vectronic

... ... ...

Posts: 2538

Pretty sure you will never get it so that it only uses RAM, but... you can take it a few steps further if you check out <a href="opera:config#Cache">these</a> settings, as well as <a href="opera:config#DiskCache">these</a> ones.

Also, I've never tried... I assume it would probably default back to the Opera Installation, or Profile directory, but you could try setting <a href="opera:config#Cache Directory">these</a> to places that don't exist...lol

24. April 2010, 10:07:31

e-berlin

e-berlin

Posts: 69

Originally posted by Vectronic:

Pretty sure you will never get it so that it only uses RAM, but... you can take it a few steps further if you check out these settings, as well as these ones.

Also, I've never tried... I assume it would probably default back to the Opera Installation, or Profile directory, but you could try setting these to places that don't exist...lol



I already checked these things but I couldn't find a way to cache all in RAM. Could you give me a hint what exactly I should do?

24. April 2010, 10:45:38

Gorash

Combo Breaker

Posts: 349

Well I'm using RAMDisk and it works great. I'm using 32bit OS so I'd be wasting 1GB of RAM anyway. I'm not sure what happens when you set the Cache to "Off" but it does seem to store them on RAM. The flash files went to your Temp folder though (which usually goes to your Cache directory).

24. April 2010, 11:31:08

e-berlin

e-berlin

Posts: 69

Originally posted by Gorash:

Well I'm using RAMDisk and it works great. I'm using 32bit OS so I'd be wasting 1GB of RAM anyway. I'm not sure what happens when you set the Cache to "Off" but it does seem to store them on RAM. The flash files went to your Temp folder though (which usually goes to your Cache directory).



Thanks for your quick response, I'll also try the 64-bit version of RAMDisk to share how it works on my 7 x64 system.

24. April 2010, 19:53:42

soldier1st

Posts: 141

ramdisks are junk, remove it. years ago they had there uses but these days they are pretty much obsolete.
to the op: you won't be able to have opera only cache it's stuff into ram,it does not work that way, perhaps in say 20 years when we have 50 gigs of ram as a standard then programs won't need to use virtual memory. the problem is that opera does not respect your cache settings.

24. April 2010, 23:59:38

Originally posted by soldier1st:

programs won't need to use virtual memory


Nonsense.. in general at least. Apart from 1-2 rare games I've installed/run in past 2-3 years (they specifically _insisted_ that paging was on before allowing the game to run), I've not used "virtual memory" (you mean disk paging, right?) at all with no (big) problems. Couple of times a program I've tried to start has crashed because there was not enough RAM left (abnormally heavy load with other programs) but that's it, it just crashes, nothing bad will happen, other running programs are fine, etc. Disclaimer: there's some things you should be aware before going "no paging". My experience was/is that it suits me fine (I'm a "propeller hat"/power user & I know my installed WinXP inside out (heavy customizations, etc.)) and it speeds up system/apps noticeably. Maybe not for everyone. Sorry, a bit OT. smile

Originally posted by soldier1st:

the problem is that opera does not respect your cache settings


True. But only when it is running. Closing Opera starts the cache cleaning (NO need to have "empty on exit" on!). Here's one topic for reference. The RAM disk is interesting idea but, it's not feasible for this purpose because its size would be 1) static (what happens when Opera needs more?), 2) not big enough for heavy load (there's (usually) only small limited amount of RAM you can assign to the RAM disk), and all this, like you said, because Opera doesn't respect cache settings while running.

25. April 2010, 04:52:54

Gorash

Combo Breaker

Posts: 349

Well actually Opera does respect your Cache settings, but it doesn't seem to remove downloaded files like flash files etc. while it is running. So that's the only annoying part. But still you only need to click on the "Empty Now" button every now and then.

Seriously... I've been using RAMDisk for a while now and it works great (but for some reason it caused a stuttering problem with my GPU once. But that might be because I had a RAMDisk installed before I installed a new GPU, so it might have conflicted). I'm storing all my cache files for every browsers on my RAMDisk. I also use the RAMDisk for storing temp. files.

30. April 2010, 12:02:48

e-berlin

e-berlin

Posts: 69

Hi everyone, I already tried the RAMDisk thing for few days just to test and see how it works. I followed all instructions, made a 512MB slice in my RAM and I changed the cache path to Z: (the assigned letter in my case) and increased cache space to 400MB. I tried both the 'Empty on exit' option on and off. Well, to be honest there is a slight difference but it's not so noticeable so I uninstalled RAMDisk's driver and I switched back to my 20MB HDD caching.

For others who want to try it: go ahead, no problems with the RAMDisk application, no stability issues, nothing. Works like charm but it's not more than 10% faster than HDD caching so I prefer to keep my 4GB RAM free for my applications.

30. April 2010, 12:44:22

Originally posted by e-berlin:

Works like charm but it's not more than 10% faster than HDD caching


YMMV. smile

30. April 2010, 12:59:06

e-berlin

e-berlin

Posts: 69

Originally posted by natural-kutkaa:

Originally posted by e-berlin:

Works like charm but it's not more than 10% faster than HDD caching


YMMV. smile



IMO. smile

30. April 2010, 15:21:09

Gorash

Combo Breaker

Posts: 349

Well there are some other advantages, like it won't strain the HDD as much or it won't slow down the HDD when there's other activity going on.

Forums » Opera for Windows/Mac/Linux » Opera browser