Paul Spencer wrote:

> Meik,
>
> Jetspeed call init() for EACH portlet in the PSML file, even if the 
> portlet is NOT displayed.  In cases when the portlet is not in the 
> cache, the portlet is instantiated and placed in cache.  So if their 
> are 100 portlets in the PSML file and only 1 is displayed, then their 
> are 100 init() calls and 1 getContent().  The original version of the 
> WebPagePortlet retrieved content from the WebServer during init().

Paul,

thank you for your tip. I'm using my own WebPagePortlet and put some actions
into the init() function. Adapting the structure of the original 
WebPagePortlet
works much better. I'm desiring to know the performance in near future 
because
the psml file will grow to approx > 400 entries.
In my case there is no need for caching, so is it possible to reduce the 
init() calls
to the portlets displayed for the request ?

Regards

Meik


-- 
----------------------------------------------------------------
                          Meik Arends     
                        [EMAIL PROTECTED]
     WAP-Mail: [EMAIL PROTECTED] ( f�r wirklich dringendes ;-)
                         ICQ: 42486557
----------------------------------------------------------------




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to