How to clear cached add-in files for New Outlook?

Lydia Edward 10 Reputation points
2025-04-14T02:44:28.4566667+00:00

I have an outlook add-in(installed using an xml manifest) and recently pushed some new changes for the add-in on my server. The changes are not reflecting in New Outlook and it has the copy of the old code even after 2 weeks of making the code changes on my server. How do I force delete the cached contents? I have tried all kinds of options like re-installing the add-in, stopping and starting my backend server, deleting all storage from dev tools. Nothing seems to work.

Please advise and give me a solution.

Thanks!

For the Classic outlook deleting the files from the following location solves this issue.

%userprofile%\AppData\Local\Microsoft\Outlook\HubAppFileCache

%userprofile%\AppData\Local\Microsoft\Office\16.0\Wef

Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,823 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Hien-L 900 Reputation points Microsoft External Staff
    2025-04-17T11:15:55.9766667+00:00

    Hi Lydia Edward,

    Welcome to our forum!

    To clear the cache in the new Outlook for Windows, you may take the following steps:

    1. Close the new Outlook app.
    2. Press the Windows + R keys together.
    3. Type or paste the command olk.exe --devtools in the Run box and click OK.
    4. The new Outlook will open (you may be prompted to sign in), and the DevTools window will also appear.
    5. In the DevTools window, click the Application button on the toolbar.
    6. Clear local storage cache. In the left pane, under the Storage section, find the https://outlook.office.com link under Local Storage. Right-click on this link and select Clear.
    7. Still in the left pane, locate the https://outlook.office.com link under Cookies, right-click on it and select Clear.
    8. Close the DevTools window.

    More information: How to clear cache in Outlook: new app and classic version. (Note: This article is a third-party link and is for your informational information only, and Microsoft does not guarantee its accuracy and updates.)

    If this does not work, it seems your case is more related to Outlook add-in development, please kindly understand that the Outlook tag here we mainly focus on general issues about Outlook desktop client. It's suggested that you could post your case in dedicated tag for development for more professional advice: Office Development.

    Hope it helps.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  

    0 comments No comments

  2. Lydia Edward 10 Reputation points
    2025-04-22T00:39:11.9166667+00:00

    The steps given in answer above did not work for me, The steps given in this link under "Manually clear cache outlook" section worked for me.

    https://learn.microsoft.com/en-us/office/dev/add-ins/testing/clear-cache


    0 comments No comments

  3. Hien-L 900 Reputation points Microsoft External Staff
    2025-04-22T08:12:42.24+00:00

    Hi Lydia Edward,

    Glad to hear you have solved the issue and much appreciation for your kind sharing!


    However, due to forum policy, people who post cannot mark their own replies as answers, so I've written a summary here, please feel free to accept it as an answer so that other people on the forum who have related questions can find solutions more easily.

    Issue:

    How to clear cached add-in files for New Outlook?

    Solution:

    To clear the cache in new Outlook on Windows, perform the following steps.

    1. Close the Outlook client if it's open.
    2. From a command line, run the following: olk.exe –devtools This opens the new Outlook on Windows client and an instance of the Microsoft Edge DevTools.
    3. In the Microsoft Edge DevTools window, select the Network tab.
    4. Select and hold (or right-click) anywhere in the Requests table. Then, select Clear browser cache.

    More information: Clear the Office cache - Office Add-ins | Microsoft Learn 

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.