Preloading static content¶
To support preloading static content, Office Online provides two WOPI actions for each Office Online application in its
discovery XML, one to preload static content for the
view action (
preloadview), and a
second to preload static content for the
edit action (
Hosts can use these URLs just like they use other Action URLs, by pointing iframes in their pages at the action URL. Unlike most action URLs, the WopiSrc and access token do not need to be specified in order to use these actions.
Hosts can include both
preloadedit in their pages to preload static
content for both. Note that the static content preload actions contain the UI_LLCC placeholder value, which
should be replaced with an appropriate language for the user so that the proper localized static content is preloaded.
If you wish to preload static content for all applications and both view and edit modes, you must load multiple actions, one for each application/mode combination.