不应定制的控制器文件部分

控制器文件的某些部分由 Oracle Content Management 服务器处理,以便使用 CDN 以及定义 URL 高速缓存段。在下面的示例中,以内嵌方式对这些部分加注了说明。

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1">
<script type="text/javascript">
<!-- The global variable SCSCacheKeys will be inserted at this location -->
 
 
var SCS = { sitePrefix: '/SampleSite/' };
<!-- A variable denoting the location of the CDN will be injected at this location. -->
<!-- Additionally, the prefix "/site" will be inserted before the site name segment. This is to support legacy controller files. -->
 
 
</script>
<script src="/SampleSite/_sitesclouddelivery/renderer/controller.js"></script>
<!-- The src value will be updated to use the CDN if this syntax is used. -->
 
 
</head>
<body id="scsControllerBody"><noscript>This site requires JavaScript to be enabled.</noscript>
<!-- The id of the <body> should not be changed. -->
 
 
<img id="scsWaitImage" style="display: none; margin-top: 5%; margin-left: auto; margin-right: auto;" src="data:image/png;base64,..." />
<!-- The id of the wait image tag should not be changed -->
 
 
</body></html>