how to serve static Content from a Cookieless sub Domain | Community
Skip to main content
October 16, 2015
Solved

how to serve static Content from a Cookieless sub Domain

  • October 16, 2015
  • 2 replies
  • 835 views

I'm trying to decrease PLT of my website which loads a lot of images and multiple js bundles/packages by porting all the images/javascript bundles(packeges)/ css bundles(packages) to a subdomain to increase number of simultaneous http requests. Say for instance if my website is example.com, I'm creating 2 subdomains 1. static-image.example.com 2. static-js.example.com and then would like all my images to load from static-images.example.com and all javascript from static-js.example.com.

Is there a way to do that using AEM ? If not is there a way to get around this problem ? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

I think you can achieve that by configuring the /content/dam path to subdomain-1 and /etc/designs path to subdomain-2 in the dispatcher.

2 replies

Level 2
June 27, 2016

Hi

 

I am also looking for help on this topic. Can anyone please respond here?

 

Regards

Sumit

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
June 27, 2016

I think you can achieve that by configuring the /content/dam path to subdomain-1 and /etc/designs path to subdomain-2 in the dispatcher.