Schlagwort-Archive: Performance

Re: Domino REST performance analysis

I have created a Quick-n-Dirty performance test for Csaba’s „10K record test“: Loading time 200 ms overall, 60 ms TTFB. Do you want to know how this works? Feel free to come to SNoUG next week or to Rudi’s EntwicklerCamp and … Weiterlesen

Veröffentlicht unter REST | Verschlagwortet mit , , , | 6 Kommentare

xsp.application.context.proxy

Just a reminder for myself: To use a CDN for XPage resources, you can add a leading slash to the xsp.application.context.proxy property. xsp.application.context.proxy=/cdn.hasselba.ch  

Veröffentlicht unter Performance, Web, XPages | Verschlagwortet mit , , , , | 4 Kommentare

XPages: Execute Events with HTTP Get

To execute an event on the server, you normally have to send a POST request, because actions will be executed in the Invoke Application phase of the JSF lifecycle. A GET request will only process the Restore View and the … Weiterlesen

Veröffentlicht unter Dojo Toolkit, Java, Java Script, JSF, Performance, XPages, XSP | Verschlagwortet mit , , , , , , , , , , | 2 Kommentare

XPages: Use async / defer option for external CSJS Script Libraries

When adding CSJS libraries to your XPage, try to use the defer or the async option for a better user experience. When not using this options, the Page might be blocked during page load. Have a look at this example … Weiterlesen

Veröffentlicht unter HTML5, Java Script, Performance, Web, XPages | Verschlagwortet mit , , , , , , , , , | Ein Kommentar

XPages: Optimized Partial Refreshs (2)

With the Optimized Partial Refresh you can do a lot of nice things: If only a part of the form is sent to the server, only this part of the components in the JSF component tree will be processed. This … Weiterlesen

Veröffentlicht unter Dojo Toolkit, Java, JSF, Performance, XPages, XSP | Verschlagwortet mit , , , , , , , , , | Schreib einen Kommentar

XPages: Optimized Partial Refreshs

Inspired by the last post of Mark, I have created a small CSJS snippet which allows to optimize the behaviour of a Partial Refresh. Normally, if you execute a Partial Refresh, all elements of a form are sent to the … Weiterlesen

Veröffentlicht unter Dojo Toolkit, Java Script, Performance, Web, XPages, XSP | Verschlagwortet mit , , , , , , , , , | 6 Kommentare

XPages: Add inline CSJS with a Theme

I needed a way to add some inline CSJS to an existing application which affects any XPage, that’s why I did this them with a theme. Et voilà: <theme extends=“webstandard“ >     <resources mode=“concat“>         <script>            … Weiterlesen

Veröffentlicht unter Java Script, Performance, Web, XPages | Verschlagwortet mit , , , , , , , | Ein Kommentar

A performance bottleneck?

Paul Withers wrote an very interesting article about the difference between a passthrough UIComponents and the corresponding XPages elements. This means the use of <br> instead a <xp:br>, or a <div> instead of a <xp:div>. A while ago I have … Weiterlesen

Veröffentlicht unter Allgemein, Java, JSF, Performance, ServerSide JavaScript, XPages | Verschlagwortet mit , , , , , | Schreib einen Kommentar

XPages: High Performance Applications

During the last months I worked on a high performance XPages application used by a lot of end users.  To get a better data throughput, I decided to use a reverse proxy for load balancing, caching of ressources, SSL connections … Weiterlesen

Veröffentlicht unter Java, Java Script, Lotus Script, Performance, ServerSide JavaScript, Web, XPages | Verschlagwortet mit , , , , , , , , | 8 Kommentare

XSnippets: Cancel a partial refresh via SSJS

With the assistance of Philippe Riand I was able to shorten the original idea of canceling a partial refresh to a single SSJS function.  By setting the HTTP header „X-XspRefreshId“ to „@none“ it is possible to get the same result … Weiterlesen

Veröffentlicht unter Allgemein, Dojo Toolkit, HTML, Java Script, Performance, Server, ServerSide JavaScript, Web, XPages, XSnippet, XSP | Verschlagwortet mit , , , , , , , , , , , , , , | Ein Kommentar