May 22, 2020
Estimated Post Reading Time ~

Page activation(using siteadmin) is too long

I have page with a lot amoun of content. After activation button is pressed, the loading bar is shown for a 2-3 mins, activation response is pending for a 2-3 mins.



If i use curl command : curl -u admin:admin -F cmd=activate -F ignoredeactivated=false -F onlymodified=false -F path=/path/topage 
http://server:port//etc/replication/treeactivation.html

Or http://server:port/etc/replication/treeactivation.html

Page will be activated in a few mills.

If I use sidekick to activate page - page activation is too long as on siteadmin



How to fix long activation?
Best How To:
As you may see preActivateValidaror executed too long. There was used some long-runned XPATH queries, I just have substituted them with SQL2 query. Now preActivateValidaror executes for a 500ms.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.