Sub-Domains and URL Mapping

harishv99010453

10-02-2019

Hi Team -

We have 200+ sub-sites along with the main site in our AEM platform. We are yet to go to production. To strip the content path we are depending on the configurations in JcrResourceResolverFactoryImpl, and adding the path that needs to be stripped under the property config "URL Mappings" (resource.resolver.mapping) as /content/mysite/en/:/, /content/sub-site/home/:/, /content/sub-site02/home/:/.....so on till 200 (so far tried with few not added 200 yet). And at the dispatcher level we are configuring the homepage path for each site. Having said that we have 200+ sites and depending on the below config,

1. Will it impact any performance while trying to resolve this many paths ?

2. Any best alternative approaches ? (We can use etc/maps but even that is same, I feel it as a tedious thing as we need to maintain environment specific configs)

/apps/commons/config.publish/org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl

Thanks,

Harish

Accepted Solutions (0)

Answers (0)