Moving Chrome cache to RAM

Please help me how to move Google Chrome cache to ram

The cache directory is under ~/.cache/google-chrome. Add an entry in /etc/fstab to mount the Google Chrome cache directory as tmpfs. Write the following as a single line and reboot.

tmpfs /home/username/.cache/google-chrome/Default
tmpfs noexec,defaults,noatime,nodiratime 0 0

Space after ‘Default’, space after next ‘tmpfs’, and username is you.

1 Like