Dispatcher Configurations in Screens as a Cloud Service dispatcher-configurations-screens-cloud
In deze sectie worden de configuraties van de verzender voor Screens as a Cloud Service beschreven.
Filters en cacheregels toevoegen in Dispatcher voor as a Cloud Service Screens-implementatie deployment
De volgende filters en cachemels in verzenders toestaan voor de publicatie-instanties in Screens as a Cloud Service.
AEM Screens-filters filters
## # 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 are 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/*" }
Cacheregels cache-rules
-
Voeg
/statfileslevel "10"toe aan de sectie/cacheinpublish_farm.any/.note note NOTE Deze geheim voorgeheugenregel steunt caching tot 10 niveaus van de geheim voorgeheugendocroot en maakt ongeldig wanneer de inhoud wordt gepubliceerd eerder dan alles ongeldig. U kunt dit niveau wijzigen op basis van de mate waarin de inhoudsstructuur is ingesteld. -
Voeg het volgende toe aan de sectie
/invalidateinpublish_farm.any.code language-none /0003 { /glob "*.json" /type "allow" } -
Voeg de volgende regels toe aan de sectie
/rulesin/cachepublish_farm.any of in een bestand dat is opgenomen vanuitpublish_farm.any.code language-none ## 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" }
recommendation-more-help
fbcff2a9-b6fe-4574-b04a-21e75df764ab