OfficeDev/office-js

How to manually delete the cache when using the “New Outlook"

Closed this issue · 7 comments

I don't know how to manually delete the cache when using the “New Outlook”.

Please let us know if the procedure is on the official documentation.
Is the method the same as the current Outlook?

This forum is limited to office-js related queries. For Exchange specific queries and support please post your questions here - https://learn.microsoft.com/en-us/answers/tags/342/office-exchange-server-management .
You can also explore the options at https://support.microsoft.com/home/contact

Hi @mailchecktool-admin,

Before you post this question to another forum, are you looking to clear the Outlook cache to remove a sideloaded add-in by any chance? If so, the following articles may assist you further:

@samantharamon
Thank you for your response.

However, there is an issue with the cache clearance method you provided. The add-in developed by our company is installed and used in customers' tenants through the Microsoft 365 admin center.

According to your suggested procedure, we would have to repeatedly remove and redeploy the add-in in the customer's environment with each deployment, which would negatively impact the customer.

Our goal is to find a recovery method that ensures the latest index.html is loaded.
Is there a way to clear the old cache data without removing and redeploying the add-in?

Additionally, I have another question. My add-in temporarily stores product policy information in local storage,
which is reused during various operations. for example) localStorage.setItem(); localStorage.getItem();
Since this local storage data might be related to the issues we're encountering, we would like to clear it.

In the case of Outlook for Windows, where is the local storage data saved within the Windows OS?

@samantharamon @exextoc
It's been a while since my last post.
Could you please update me on the status of this ticket?
As this issue is affecting my client, I would appreciate your cooperation in resolving it.

Cache in New Outlook can be cleared by:

  1. Close New Outlook and run the following command in terminal: olk.exe -devtools . This will open DevTools along with the Outlook App.
  2. Manually clear the cache as mentioned here https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/network/reference#manually-clear-the-browser-cache

This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!

This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue.