XPages loading time in the Firefox with richtext

i created an XPage with an richtext editor an an datepicker. When i open documents with this XPage and change from the read to the edit mode. It will takes (without cache) 5-10 secconds to load (chrome just take 0,5 secconds).

The problem is as you can see, it will load a lot of dojo ressources. It only happends while the richtext editor or/and the datepicker are in the XPage.

Is there a way to tell the domino server to send the dojo lib as one compressed file? Or is there another solution to solve this problem.

Thanks.

UPDATE the property xsp.resources.aggregate=true does not work for this problem.

Answers


You can use "Use runtime optimized javascript and CSS ressources". This option can be found on the Application Properties, Section "XPages". This will add the parameter

xsp.resources.aggregate=true

to your xsp.properties file and enables the feature for you whole application.

Alternativly you can enable this feature for one XPage only by adding this lines to the XPages source code:

<xp:this.properties>
    <xp:parameter name="xsp.resources.aggregate" value="true" />
</xp:this.properties>

finally i found the problem. It will only cause if the editbutton makes a partial update on a panel with a document and a richtext editor inside. If i make a full refresh it will load the compressed files.


Need Your Help

Need to run a Custom chef recipe to be run with sudo priviliges

chef recipe

I have to run a custom chef recipe for creating a directory under /ops, but I do not want to use root user for this. I have a user who has the sudo priviliges to create a directory manually

Connecting to a WiFi through an application

android android-wifi

I wish to create an application, that detects the available wifi connections in the vicinity, and then connects to them. What I have done till now, is that I created a ListView that lists the avail...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.