Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Sub-Domains and URL Mapping

Avatar

Level 2

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

0 Replies