Hi folks,

I am looking into portlet caching a bit in Jetspeed 1.5.  We have some
portlets, all subclasses of VelocityPortlet.  The data they pull (from
an oracle database) is mostly static, but there are some times where
data changes, and we'd like the portlets to reflect that.  All of these
portlets are marked as cacheOnValue, cacheOnName in the registry.  

I can tell that the data layer is getting the new data because we have
a search portlet and the results correspond to the changed data. 
However, other display portlets don't reflect the changed data until
the server is restarted.

I spend some time in the js1.5 source (thanks, koders.com) and found
that VelocityPortlets are cacheable by default.

A couple of questions:

1.  Can I refresh the portlet cache without restarting my servlet
container?

2.  I was able to find reference to an expiration time in millisecods
(in AbstractPortlet) but didn't see that in the configuration files,
and couldn't find a default value.  Is there one?

3.  I think that all that happens after portlets are stale (epxired) is
that their refresh method is called.  Is that true?

4.  I'm thinking that turning off cacheOnValue might be a fix for our
situation.  Does that make sense?

Thanks,
Dan

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

Reply via email to