Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Touchui editor: How to avoid that the editing page gets loaded twice

Avatar

Former Community Member

Hi,
in AEM 6.1 with touch-ui the page I want to edit gets always loaded twice:

First the editor:  /editor.html/content/geometrixx/en.html
then the actual content page in an IFRAME:  /content/geometrixx/en.html
then again the conten page, but with an timestamp: /content/geometrixx/en.html?_=1444244532322

Is there any way to avoid this?
Thanks!

4 Replies

Avatar

Level 10

sounds like you have custom library which is using jquery hooked into aem author library.

Avatar

Level 10

I have never seen this behavior with AEM. When I load a page to edit in AEM 6.1 - it only loads 1 time: 

[img]pagetwice.png[/img]

Has this always happened with AEM 6.1 or only after some change was made. 

Avatar

Former Community Member


It happens always on the first page load, requesting e.g. http://localhost:4502/editor.html/content/geometrixx/en.html

On page load the following requests to html pages are made:
/editor.html/content/geometrixx/en.html
/content/geometrixx/en.html
/libs/wcm/core/content/editor/tour/content.html?_=1444257581510   
/libs/cq/personalization/touch-ui/content/targeteditor.html?_=1444257581511
/content/geometrixx/en.html?_=1444257581512    
/libs/wcm/msm/content/touch-ui/authoring/rolloutoptions.html?_=1444257581514
/libs/wcm/core/content/components.1444256533183.html?_=1444257581515

The second request to /content/geometrixx/en.html?_=1444257581512 does not seem to have any effect on the page. At least the content of the "ContentFrame" iframe contains the original /content/geometrixx/en.html (without the _ parameter).
There is a comment in the code of the editor.js where the second request is fired: "Is fired every time the url of the iframe is changed (e.g. click on a inner link)"

I guess there is not much I can do about it. Thanks anyway!

Avatar

Former Community Member

It isn´t something you notice just by looking at the page. We are currently trying to improve the performance of the author interface. That´s why I analyzed the requests on ../editor.html/.. page loads with a proxy tool.
I could reproduce it on a plain 6.1 editing geometrixx content.