In Sitecore (10.2.0) there are serval out of box layout service configurations, such as default, jss, jss-rendering etc.
I used default and jss in my headless project, but I'm wondering what is jss-rendering configuration for?
In Sitecore (10.2.0) there are serval out of box layout service configurations, such as default, jss, jss-rendering etc.
I used default and jss in my headless project, but I'm wondering what is jss-rendering configuration for?
Copyright © 2021 Jogjafile Inc.
jss-renderingconfiguration option stands out against other named configurations of the Sitecore Layout Service for two reasons:IncludeServerUrlInMediaUrlsproperty is set tofalseto instruct Sitecore not to include the server host as part of media requests; it is helpful to exclude the server host from media URLs when proxying requests in headless mode;Sitecore.LayoutService.Placeholders.SimplePlaceholdersResolverresolver to use non-dynamic placeholder keys.Here is a config example of the
jss-renderingoption for the Layout Service: