Search This Blog

Monday, October 3, 2016

How to put Cache into RamDisk

I recently upgrade memory on working PC.
Want put cache into Ramdisk and save some life of SSD.

The Ramdisk Application I am using is: SoftPerfect RAM Disk.

Here are my changes:


    1. Put Google Chrome Cache into RamDisk:



mklink /J "C:\Users\Lambert\AppData\Local\Google\Chrome\User Data\Default\Cache" R:\ChromeCache
mklink /J "C:\Users\Lambert\AppData\Local\Google\Chrome\User Data\Default\Media Cache" R:\ChromeMediaCache



    1. Put Firefox Cache into RamDisk:



mklink /J C:\Users\Lambert\AppData\Local\Mozilla\Firefox\Profiles\gh97lngc.default\cache2 R:\Firefoxcache



    1. Put VLC Media Player ART into RamDisk:



mklink /J C:\Users\Lambert\AppData\Roaming\vlc\art R:\vlcart



    1. Put Microsoft Edge Cache into RamDisk:



mklink /J C:\Users\Lambert\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC\MicrosoftEdge\Cache R:\EdgeCache
mklink /J C:\Users\Lambert\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC\#!001\MicrosoftEdge\Cache R:\Edge001
mklink /J C:\Users\Lambert\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC\#!002\MicrosoftEdge\Cache R:\Edge002

I accident delete the Edge profile folder.
C:\Users\Lambert\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC\

Do not delete the top folder!

Recovery from PowerShell:
Get-AppxPackage –AllUsers –Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage –DisableDevelopmentMode –Register “$($_.InstallLocation)\AppxManifest.xml” –Verbose}



    1. Redirect the Temp folder even I change the Windows TEMP Path:



mklink /J C:\Windows\Temp R:\Temp



    1. Thumbcache folder can't be redirect!



C:\Users\Lambert\AppData\Local\Microsoft\Windows\Explorer\

No comments:

Post a Comment