Delete Microsoft Office Cache

By disabling the Office Document Cache everything works, I was wondering whether there is a way to disable it for all user via GPO, I could not find much on Google about it. (It is basically the tick box in the Office 2016 Upload Center - setting - Delete files.) Cheers. Sometimes there is a need to delete Microsoft Teams cache to quicken the adoption of an in-band policy change or simply troubleshoot an issue. The challenge here is that the cache for Microsoft Teams is in multiple directories. This can be done manually but would result in a slow and tedious process.

Cleaning these types of the file will help to clear the cache in Windows 10 and older versions: 1) Press Windows + R keys to open the RUN box. 2) Type prefetch and press the Enter key. Click on Continue if prompted for access permission. Select all the files in prefetch and delete them. You'll need that next. Open the Registry Editor and copy and paste HKEYLOCALMACHINE SOFTWARE Microsoft Windows CurrentVersion Appx AppxAllUserStore in the search bar. Using the SID you identified earlier, delete the matching registry key to clear the 3rd-party app Store cache for that user. Close PowerShell, the Registry Editor, and reboot. As soon as you execute the command, Windows will clear the Microsoft Store cache and completely reset the store app. Related: How to reinstall Microsoft store in Windows 10. Clear DNS Cache Completely. Since we want to clear all cache in Windows 10, it is better to flush the DNS too. Press “Win + R” to open the Run window.

-->

You can remove an add-in that you've previously sideloaded on Windows, Mac, or iOS by clearing the Office cache on your computer.

Additionally, if you make changes to your add-in's manifest (for example, update file names of icons or text of add-in commands), you should clear the Office cache and then re-sideload the add-in using updated manifest. Doing so will allow Office to render the add-in as it's described by the updated manifest.

Note

To remove a sideloaded add-in from Excel, OneNote, PowerPoint, or Word on the web, see Sideload Office Add-ins in Office on the web for testing: Remove a sideloaded add-in.

Clear the Office cache on Windows

To remove all sideloaded add-ins from Excel, Word, and PowerPoint, delete the contents of the folder:

If the following folder exists, delete its contents too.

To remove a sideloaded add-in from Outlook, use the steps outlined in Sideload Outlook add-ins for testing to find the add-in in the Custom add-ins section of the dialog box that lists your installed add-ins. Choose the ellipsis (..) for the add-in and then choose Remove to remove that specific add-in. If this add-in removal doesn't work, then delete the contents of the Wef folder as noted previously for Excel, Word, and PowerPoint.

Additionally, to clear the Office cache on Windows 10 when the add-in is running in Microsoft Edge, you can use the Microsoft Edge DevTools. Apple emulator for mac.

CacheClear microsoft office font cache mac

Tip

If you only want the sideloaded add-in to reflect recent changes to its HTML or JavaScript source files, you shouldn't need to clear the cache. Instead, just put focus in the add-in's task pane (by clicking anywhere within the task pane) and then press F5 to reload the add-in.

Note

To clear the Office cache using the following steps, your add-in must have a task pane. If your add-in is a UI-less add-in -- for example, one that uses the on-send feature -- you'll need to add a task pane to your add-in that uses the same domain for SourceLocation, before you can use the following steps to clear the cache.

  1. Install the Microsoft Edge DevTools.

  2. Open your add-in in the Office client.

  3. Run the Microsoft Edge DevTools.

  4. In the Microsoft Edge DevTools, open the Local tab. Your add-in will be listed by its name.

  5. Select the add-in name to attach the debugger to your add-in. A new Microsoft Edge DevTools window will open when the debugger attaches to your add-in.

  6. On the Network tab of the new window, select the Clear cache button.

  7. If completing these steps doesn't produce the desired result, you can also select the Always refresh from server button.

Clear the Office cache on Mac

Add-ins are often cached in Office for Mac, for performance reasons. Normally, the cache is cleared by reloading the add-in. If more than one add-in exists in the same document, the process of automatically clearing the cache on reload might not be reliable.

You can clear the cache by using the personality menu of any task pane add-in.

  • Download el capitan iso. Choose the personality menu. Then choose Clear Web Cache.

    Note

    You must run macOS version 10.13.6 or later to see the personality menu.

How To Delete Microsoft Office Cache Files

You can also clear the cache manually by deleting the contents of the ~/Library/Containers/com.Microsoft.OsfWebHost/Data/ folder.

Note

If that folder doesn't exist, check for the following folders and if found, delete the contents of the folder.

  • ~/Library/Containers/com.microsoft.{host}/Data/Library/Caches/ where {host} is the Office application (e.g., Excel)
  • ~/Library/Containers/com.microsoft.{host}/Data/Library/Application Support/Microsoft/Office/16.0/Wef/ where {host} is the Office application (e.g., Excel)
  • ~/Library/Containers/com.microsoft.Office365ServiceV2/Data/Caches/com.microsoft.Office365ServiceV2/
  • ~/Library/Containers/com.microsoft.Office365ServiceV2/Data/Library/Caches/com.microsoft.Office365ServiceV2/

Clear the Office cache on iOS

Delete

To clear the Office cache on iOS, call window.location.reload(true) from JavaScript in the add-in to force a reload. Alternatively, you can reinstall Office.

See also

Delete Microsoft Office Cache Chrome

Clear the Office and Web cache for Excel on a Mac in the following cases:

Delete Microsoft Office Cache Files

  • If the provider you are connecting to has been updated; for example, after a monthly update has been applied.

  • Before sideloading or deploying a new or modified manifest file.

  • If you have previously sideloaded the same Oracle Smart View for Office (Mac and Browser) add-in an earlier session and are experiencing issues, such as login issues.

  • If the 'Include Functions support' Download mavericks dmg. option is enabled in the manifest file.

Clear Microsoft Document Cache

  1. Clear the Office cache by manually deleting files:
    1. Close all Office applications.
    2. Delete the contents of the following folder:

      /Users/{your_name_on_the_device}/Library/Containers/com.Microsoft.OsfWebHost/Data/

      If that folder does not exist on your Mac, then check your system for the following folder locations and, if found, delete their contents:

      ~/Library/Containers/com.microsoft.excel/Data/Library/Caches

      ~/Library/Containers/com.microsoft.excel/Data/Library/Application Support/Microsoft/Office/16.0/Wef

      com.microsoft.Office365ServiceV2/Data/Caches/com.microsoft.Office365ServiceV2/

      For more information, see Clear the Office cache on the Microsoft support site and see 'Clear the Office cache on Mac.'

  2. Re-sideload or redeploy the manifest file, launch Excel, and log in to Smart View.

    See Mac: Sideloading on Excel 365 and Logging In or Mac: Sideloading on Excel 365 and Logging In.

  3. Clear the web cache using the Clear Web Cache command:
    1. In the Smart View ribbon, select Home.
    2. Click the i icon in the upper-right corner of the Login dialog or the Home panel to display the'personality' menu.
    3. From the personality menu, select Clear Web Cache.

      In this example, the personality menu is accessed from the Login screen:


      For more information, see Clear the Office cache on the Microsoft support site and see 'Clear the Office cache on Mac.'

  4. Continue working in Smart View.