注:
由于每个 OCE Web 页都使用 require.js 和 renderer.js,因此,它们适合应用预加载和预取技术。此外,当href
列在 <link>
标记中的前面位置时,其值要由从 CDN 传送的 OCE 服务器修复。<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="initial-scale=1"> <link href="/SampleSite/_sitesclouddelivery/renderer/require.js" rel="preload" as="script"> <link href="/SampleSite/_sitesclouddelivery/renderer/renderer.js" rel="preload" as="script"> <script type="text/javascript"> var SCS = { sitePrefix: '/SampleSite/' }; </script> <script src="/SampleSite/_sitesclouddelivery/renderer/controller.js"></script> </head> <body id="scsControllerBody"><noscript>Please enable JavaScript to view this site properly.</noscript> <img id="scsWaitImage" style="display: none; margin-top: 5%; margin-left: auto; margin-right: auto;" src="data:image/png;base64,..." /> </body></html>