Disable Chrome cache


  1. Posts : 87
    Windows 7 Ultimate 64-bit SP1
       #1

    Disable Chrome cache


    Hi

    I want, for the sake of my netbook's battery, hard disk defrag, etc.... to disable the Google Chrome cache as it is writing to the HDD and therefore using my netbook's battery.

    Is that possible? or shoud I change to Firefox/Opera for the netbook???

    Many thanks :)
      My Computer


  2. Posts : 687
    Microsoft Windows 10 Professional / Windows 7 Professional
       #2

    Try with a modified shortcut to chrome.exe?

    "chrome.exe" --disk-cache-size=1 --media-cache-size=1
      My Computer


  3. Posts : 5,642
    Windows 10 Pro (x64)
       #3

    Umm...sorry but thats is just foolish. Disabling the cache will inflict more battery usage then saving. I/O over the network is a lot slower, and requires more processing then local I/O. Downloading the same images and other files (CSS, JS) with every page load will take more battery power then reading from the hard drive.
      My Computer


  4. Posts : 87
    Windows 7 Ultimate 64-bit SP1
    Thread Starter
       #4

    OldMX said:
    Try with a modified shortcut to chrome.exe?

    "chrome.exe" --disk-cache-size=1 --media-cache-size=1
    Thanks but those flasg don't seem to work here Chrome 21 dev

    logicearth said:
    Umm...sorry but thats is just foolish. Disabling the cache will inflict more battery usage then saving. I/O over the network is a lot slower, and requires more processing then local I/O. Downloading the same images and other files (CSS, JS) with every page load will take more battery power then reading from the hard drive.
    I thought Chrome or any browser stored those data on RAM for an session so it wouldn't download again unless restarted (thats why it uses lots of ram when many tabs opened, I think).
      My Computer


  5. Posts : 5,092
    Windows 7 32 bit
       #5

    You cuold try
    --disk-cache-dir Use a specific disk cache location, rather than one derived from the UserDatadir. ↪
    --disk-cache-size Forces the maximum disk space to be used by the disk cache, in bytes. ↪

    and put the cache on a small ram disk. If that's all you have on the ram disk you can set it to discard everything on shutdown. In fact it may speed up your performance.

    I used Data Ram Ramdisk not too long ago. It wasn't difficult to set up. Here's a list:
    http://en.wikipedia.org/wiki/List_of_RAM_disk_software

    You can run FireFox Portable completely out of a ram disk. Chrome may be a bit more problematic.
      My Computer


  6. Posts : 5,642
    Windows 10 Pro (x64)
       #6

    Derek10 said:
    I thought Chrome or any browser stored those data on RAM for an session so it wouldn't download again unless restarted (thats why it uses lots of ram when many tabs opened, I think).
    Nope, doesn't work that way.
      My Computer


  7. Posts : 87
    Windows 7 Ultimate 64-bit SP1
    Thread Starter
       #7

    MilesAhead said:
    You cuold try
    --disk-cache-dir Use a specific disk cache location, rather than one derived from the UserDatadir. ↪
    --disk-cache-size Forces the maximum disk space to be used by the disk cache, in bytes. ↪

    and put the cache on a small ram disk. If that's all you have on the ram disk you can set it to discard everything on shutdown. In fact it may speed up your performance.

    I used Data Ram Ramdisk not too long ago. It wasn't difficult to set up. Here's a list:
    List of RAM disk software - Wikipedia, the free encyclopedia

    You can run FireFox Portable completely out of a ram disk. Chrome may be a bit more problematic.
    Many thanks, seems that using the --disk-cache-size alongside the --disk-cache-dir worked fine here on Chrome Canary. I will try some RAM disk software of the link, and see if better or no that cache disabled. :)


    logicearth said:
    Derek10 said:
    I thought Chrome or any browser stored those data on RAM for an session so it wouldn't download again unless restarted (thats why it uses lots of ram when many tabs opened, I think).
    Nope, doesn't work that way.
    With Chrome, yes, I've tested it.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:09.
Find Us