이 섹션에서는 Screens as a Cloud Service에 대한 디스패처 구성을 설명합니다.
Screens의 게시 인스턴스에 대해 dispatcher에서 다음 필터 및 캐시 규칙을 as a Cloud Service으로 허용합니다.
## # Content Configurations
/0200 { /type "allow" /method '(GET|HEAD)' /url "/content/screens/*" }
#/0201 { /type "allow" /method '(GET|HEAD)' /url "/content/experience-fragments/*" } ## uncomment this, if you're using experience-fragments
## add any other formats required for your project here
/0202 { /type "allow" /extension '(css|eot|gif|ico|jpeg|jpg|js|gif|pdf|png|svg|swf|ttf|woff|woff2|html|mp4|mov|m4v)' /path "/content/dam/*" }
/0203 { /type "allow" /method 'GET' /url "/screens/channels.json" }
## # Enable clientlibs proxy servlet
/0210 { /type "allow" /method "GET" /url "/etc.clientlibs/*" }
추가 /statfileslevel "10"
to /cache
섹션 publish_farm.any
/.
이 캐시 규칙은 캐시 docroot에서 최대 10개 수준의 캐싱을 지원하며 컨텐츠가 게시되면 모든 항목을 무효화하지 않고 무효화합니다. 컨텐츠 구조가 설정되는 깊이에 따라 이 수준을 변경할 수 있습니다.
에 다음 내용을 추가합니다 /invalidate
섹션 publish_farm.any
.
/0003 {
/glob "*.json"
/type "allow"
}
다음 규칙에 추가 /rules
섹션 /cache
publish_farm.any 또는 publish_farm.any
.
## Allow Dispatcher Cache for Screens channels
/0002
{
/glob "/content/screens/*.html"
/type "allow"
}
## Allow Dispatcher Cache for Screens offline manifests
/0003
{
/glob "/content/screens/*.manifest.json"
/type "allow"
}
## Allow Dispatcher Cache for Assets
/0004
{
/glob "/content/dam/*"
/type "allow"
}
## Deny Screens Channels json
/0005
{
/glob "/screens/channels.json"
/type "deny"
}