Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

CQ Tags

Avatar

Former Community Member

Hi,

I am using TagInput field to show/apply all tags (/etc/tags) available in CRX. I can see when I click the drop down it does a call to 

http://localhost:4504/etc/tags.tags.json

This call is taking huge time on our environment. I need to know the reason for this.

 

Can anyone help me understand how CQ really handle this call ?

4 Replies

Avatar

Level 10

which version of cq5?  Can you take thread dump[1] on clicking of drop down and attach here?

[1]   http://helpx.adobe.com/experience-manager/kb/TakeThreadDump.html

Avatar

Level 6

It take all the tags by default. If you know what subset you want, you can define the property tagsBasePath [1] that points to where you want to start looking. The call is to the default path.

 

/Ove

 

[1] http://dev.day.com/docs/en/cq/current/widgets-api/index.html?class=CQ.tagging.TagInputField

Avatar

Former Community Member

Thanks Ove. This is happening on our QA environment which has good amount of resources.

I tried http://localhost:4504/etc/tags.mytags.json and its pretty fast but when i tried fetching all tags is slow like anything although the numbers of tags is not much.

Is there any way I can debug and figure out ? 

 

-Vishal

Avatar

Level 6

And the reason for it taking a long time is that you have a slow computer and have started AEM with too little memory. ;)

/Ove