您可以启用使用 Oracle Content Management 构建的站点,以预呈现静态 HTML 页,从而对搜索 Crawler 请求进行响应。
如果预呈现服务处于启用状态而且请求来源于搜索 Crawler,则会在高速缓存中搜索该页面。
如果在高速缓存中找到了该页面而且该页面存在的时间小于 15 天,则会为请求提供缓存页面。
如果该页面在高速缓存中的时间超过 15 天或者在高速缓存中找不到,则会从 Oracle Content Management 提取新版本,更新高速缓存,并提供新的预呈现页面。
如果在高速缓存中或 Oracle Content Management 中找不到该页面,则会返回错误页面。
公共站点或新站点上尚未缓存的失效页面一天呈现一次。如果某个页面已经缓存,则不会更新高速缓存。预呈现服务处于启用状态时,对于尚未更新和重新发布的站点,预呈现的高速缓存会每小时更新一次。如果您对站点页面进行更改而且想要测试这些更改对优化的影响,则可以在站点属性中手动更新预呈现的高速缓存。
单击侧面导航中的站点。
选择站点,然后从右键单击菜单中选择属性,或单击操作栏上的子工具栏,然后选择属性。
单击属性子工具栏中的 SEO。
此时列出上次刷新高速缓存的日期和时间。要更新高速缓存,请单击立即刷新。进度栏上会显示缓存状态。
注:
如果在站点 SEO 设置中将某个页面设置为对于搜索引擎隐藏,则该页面将不预呈现或缓存。
要在 Oracle Content Management 中启用预渲染服务,请执行以下操作:
单击侧面导航的“管理”区域中的系统。
在“系统设置”菜单中选择站点的 SEO。
单击已启用。
定义所需的任何其他用户-代理。
表 11-1 Oracle Content Management 中硬编码的用户-代理
用户-代理 | 用户-代理 | 用户-代理 | 用户-代理 |
---|---|---|---|
baiduspider | facebookexternalhit | twitterbot | rogerbot |
linkedinbot | embedly | quora link preview | showyoubot |
outbrain | pinterest/0. | developers.google.com/+/web/snippet | slackbot |
vkShare | W3C_Validator | redditbot | Applebot |
tumblr | bitlybot | ||
SkypeUriPreview | nuzzel | Discordbot | Google Page Speed |
Qwantify | pinterestbot |
表 11-2 config.cfg 文件的 PrerenderUserAgents 属性中的其他预配置用户-代理
用户-代理 | 用户-代理 | 用户-代理 | 用户-代理 |
---|---|---|---|
AddSearchBot | AdIdxBot | AdsBot-Google | AdsBot-Google-Mobile-Apps |
AppEngine-Google | Baidu-YunGuanCe | Bingbot | BingPreview |
DuckDuckBot | DuckDuckGo-Favicons-Bot | endeca webcrawler | Exabot |
Facebot | Feedfetcher-Google | FeedValidator | Fetch |
FlipboardProxy | Google Favicon | Google Web Preview | Google-Adwords-Instant |
Googlebot | Googlebot-Image | Googlebot-Mobile | Googlebot-News |
Googlebot-Video | Google-PhysicalWeb | Google-Structured-Data-Testing-Tool | HubSpot,ia_archiver |
Mediapartners-Google | MSNBot | NetcraftSurveyAgent | nutch |
Oracle Secure Enterprise Search | pinterest.com | PIs-Google | SEOkicks |
seoscanners | Siteimprove.com | Slurp | Sogou web spider |
VSE/1.0 | W3C_CSS_Validator | W3C_I18n-Checker | W3C_Unicorn |
W3C-checklink | W3C-mobileOK | Y!J | Yahoo Link Preview |
Yahoo! Slurp | Yandex | YandexBot | YunGuanCe |