Page 1 of 1

[Solved] Chrome cache

Posted: 18 Nov 2014, 10:40
by Zachar
What is the proper way of setting up Chrome cache to be kept in RAM instead of my pendrive in Porteus? Cache files slow down the browser dramatically when their size increases with time. I also suppose that while storing cache requires a lot of writing to the usb stick, it causes the device to wear down faster.

I'll be greatful for clearing those things up for me.

Re: Chrome cache

Posted: 18 Nov 2014, 12:36
by brokenman
My first thought would be to create a temp file system in ram and store the google-chrome cache there.

Before activating the chrome module.

Code: Select all

mkdir /tmp/google-chrome
mount -t tmpfs -o size=512M tmpfs /tmp/google-chrome
ln -s /tmp/google-chrome /home/guest/.config/google-chrome
You can use whatever size suits your system. Now activate and start google chrome. You may have no profile to begin with, but google will populate ram with its cache after this.

Re: Chrome cache

Posted: 19 Nov 2014, 10:53
by wread
@Zachar
I normally run Porteus in AF mode; in order to have my settings at every start in AF mode, I made a module containing those settings.

It is very easy: make a folder and name it myGChrome, in it, a subfolder and name it root, in root make a folder and name it .config (dot-config), open it and copy your actual folder /root/.config/google-chrome/ in it. Go up to myGChrome and make a Porteus module out of it by right-clicking on it (selecting "make Porteus xzm module").

Put your newly created module in "modules" and your settings will come up every time you start Poteus.

Elemental, Watson! 8)

Cheers!

Re: Chrome cache

Posted: 24 Nov 2014, 15:20
by Zachar
Thanks for the tips. For now, I decided to use Firefox which seems to have this option accessible in a much simplier way.