SilverWav's Journal

The best is yet to come…

Note: Speed up Chrome mount .cache/google-chrome in RAM

leave a comment »

Create the script: chrome_tmp_cache.sh

Add the following to the script:
#!/bin/bash
if test -d /tmp/chrome; then
exit 0
else
rm -r ~/.cache/google-chrome
mkdir /tmp/chrome
ln -s /tmp/chrome ~/.cache/google-chrome
fi

Change the script permissions:
$ chmod +x ./chrome_tmp_cache.sh
Add the script to the Session and Startup > Applications Autostart:
Name: Chrome Cache
Command: /home/<user>/chrome_tmp_cache.sh
Comment: Move Chrome cache to /tmp

From here.

Check:
/home/<user>/.cache/google-chrome/Default/
/tmp/chrome/

Advertisements

Written by SilverWav

May 5, 2013 at 9:52 pm

Posted in Notes

Tagged with , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: