Hi Team,
For some of the pages, we don't want to load the foundation and granite scripts on the page.
How we can exclude those libraries form loading on AEM pages.
Any advice, please
Thanks
Uma
Solved! Go to Solution.
Views
Replies
Total Likes
I am able to do it by overriding the header.htm file.
Views
Replies
Total Likes
I do not think this is a feature. Its not a great idea either as you can introduce instability with respect to page dependencies.
Views
Replies
Total Likes
I agree but no option for a few pages. we are working on headless architecture, we did a simple test by removing the libraries from the dispatcher version. We are ok with that. Functionality looking good we just need to add the custom styles to the page and content that's all matter.
Any advice on how to exclude these libraries.
Thanks
Uma
Views
Replies
Total Likes
Not sure - as Adobe does not document this use case. I have asked some internal ppl for their thoughts here.
Views
Replies
Total Likes
Any update
Views
Replies
Total Likes
There is no instructions on this within Adobe. This does not seem like a practical use case.
Views
Replies
Total Likes
I am able to do it by overriding the header.htm file.
Views
Replies
Total Likes
You can control the inclusion of a script if its not required for any functionality on page.
Which scripts you are seeing getting included on page and you dont need it?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies