3
votes

In Outlook for Mac, an office.js Outlook add-in runs in a task pane that I assume is a Safari web control. I have not been able to determine how you clear the cached files from an add-in running in the task pane.

Does anyone know how to manually clear the task pane's browser cache? I cannot find an official answer, just guesses.

Thanks.

3
It is an embedded WebKit instance. That said, what is the issue that you are running into?Marc LaFleur
During testing we sometimes need to ensure that the new code is being loaded, but are getting the older cached files.Carbo

3 Answers

3
votes

Seems like the documentation contains the information you're looking for: Clear the Office cache

For Mac:

Delete the contents of the folder:

~/Library/Containers/com.Microsoft.OsfWebHost/Data/
3
votes

I had a similar issue when building a custom function. My js was being cached and was not reloaded when pushed updated code to my webserver.

To remove the cache on my mac I deleted the contents of the following directory:

~/Library/Containers/com.microsoft.Excel/Data/Library/Caches/
3
votes

Outlook has changed cache path, the new one is ~/Library/Containers/com.microsoft.Outlook/Data/Library/Caches