Thursday, March 10, 2016

Change Cache location on Office Web apps server 2013 - SharePoint

There are two caches in OWA server:
  • LogLocation defaulting to %programdata%\Microsoft\OfficeWebApps\Data\Logs\OWA
  • CacheLocation, defaulting to %programdata%\Microsoft\OfficeWebApps\Working\d\
  • RenderingLocalCacheLocation, defaulting to %programdata%\Microsoft\OfficeWebApps\Working\waccache\.
So if you try to put theses caches out of C: drive (which is highly recommended) you should use a command similar to that:
Set-OfficeWebAppsFarm -LogLocation D:\OWALogs -CacheLocation "D:\WACCache\D” -RenderingLocalCacheLocation “D:\WACCache\R“
 LogLocation stores all OWA logs, CacheLocation points to the global disk cache that is used to store rendered image files, whereas Rendering Local Cache is the temporary cache used by the Word and PowerPoint Viewing Services. Strangely enough there is no mention of specific cache for Excel files.

Please note that, powerpoint, word will not work if renderinglocalcachelocation is set to drive and if it is security hardened. In that case, its best you keep RenderingLocalCacheLocation to default location.

Reboot the server in order to effect the changes.

No comments:

Post a Comment