Share via

Microsoft Edge Version 86.0.622.38 Cache Location / Change

Anonymous
2020-10-13T14:59:22+00:00

I am now running from an SSD drive.

I utilize a RAMDisk for temporary file storage to save wear / tear on my SSD.

In the past I have used Microsoft Edge (In an effort to support Microsoft) but am now utilizing Chrome simply because I can redirect the cache to my RAMdisk.

It seems there is no way to redirect the cache location in Microsoft Edge to my RAMDisk.

I have read everything I can find on the matter and there seems to be no way of doing this?

Please do not respond unless you know exactly how to do this (no 'try this' type responses), or you are an authority that can provide a definitive answer such as 'It cannot be done'. There is enough clutter on answers.microsoft.com to drive one crazy already!

Cheers!

Microsoft Edge | Other | Windows 10

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2020-10-13T15:53:05+00:00

There is a policy for changing the location of Edge's cache:

Microsoft Edge Browser Policy Documentation| Microsoft Docs 

You can add the policy manually to the registry:

Key:  HKLM\Software\Policies\Microsoft\Edge

Value: DiskCacheDir

Data type: REG_SZ

Data: "<path to cache directory>" , e.g. "D:\Edge Cache"

I haven't tested this.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

Answer accepted by question author

Anonymous
2020-10-13T18:12:54+00:00

-- Modify the the properties on the link to Microsoft Edge as such:

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --profile-directory=Default --disk-cache-dir=z:\MicrosoftEdgeCache

So Microsoft Edge now caches to z:\MicrosoftEdgeCache.

Yes, I could have suggested that, but:

If Edge is launched by some other means than clicking on the modified shortcut - for example by clicking on a web link in an email - the default cache location in %localappdata% will be used. The registry modification (whether made manually or via the Group Policy editor) avoids this. You would also have to add the parameter to every website shortcut and PWA.

If you really want to shield your SSD, you'd be better off with this simple registry addition.

Was this answer helpful?

0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2021-08-29T06:40:22+00:00

    Validated that these steps work. Note, you want to create a new item type of "String Value" when creating the value, "DiskCacheDir".

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-10-13T18:49:26+00:00

    Yes, Yes and Yes.

    As with life there is always more than one answer.

    I will mark your original post as 'Yes, this answered my question' as it is most suitable for a user.

    My individual preference though is still not to go after the registry as I would not want Edge pointing to a drive (the RAMDrive) that may not be there.

    Thanks

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2020-10-13T17:26:39+00:00

    Thanks for the 'hint' link jFireDog.

    The link you provided mentioned --disk-cache-dir, and yes Microsoft Edge is now based on Chrome.

    So:

    -- Create a directory on your RAMDisk. Example: Mine is z:\MicrosoftEdgeCache

    -- Modify the the properties on the link to Microsoft Edge as such:

    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --profile-directory=Default --disk-cache-dir=z:\MicrosoftEdgeCache

    So Microsoft Edge now caches to z:\MicrosoftEdgeCache.

    Note: 

    It is my understanding that their is a video cache also somewhere, I will chase that down later.

    This is the answer for me right now.

    I am a little Leary about marking your post as  As 'Do this reply solve your question'  because some other user may simply read your post and modify their registry rather than reading my response which is a whole lot less obtrusive.

    If you like to see your answers marked as Yes, this reply solved my question feel free to simply post again with the information I have provided, I will then mark that port 'Yes' (as it seems I cannot mark my reply as 'the answer').

    Was this answer helpful?

    0 comments No comments