Skip to Content
0
Former Member
Nov 26, 2004 at 12:10 PM

ICachablePortalComponent:hasExpired

21 Views

Hello,

can anybody explain what's the purpose of following method: ICachablePortalComponent:hasExpired

My understandig was, that, whenever someone calls an iview based on a portal component, which implements above method, this method will be checked in a caching environment.

So I decided to set the according parameter "ValidityPeriod" i.e. for 1 day, such that i achieve a 1 day caching of each iview.

What happened was:

The method was not checked everytime such an iview is called, but only after redeploying the implementation of the component. Then ICachablePortalComponent:hasExpired is called until it returs true for the first time. After this successful call it wasn't checked any longer, unless the code was redeployed again.

regards

Ruth