Hi Matt,

At 11:58 16.07.2004, you wrote:
Hi everybody,

I've developped a webapp which display a tip, and which must be renew at each time it is displayed....

so I've search how to flush the cache....

Finally I've decided to use these instructions :

Long temps= new Long("0");
request.setAttribute("org.jahia.portletapi.CacheExpirationDelay", temps);
But, are these instructions modifying the value of the expiration cache of the cache, or of the page where I've put my webapp.... ???


Or, if someone can tell me how to flush the cache for just a webapp and not a complete page......

Although it flushes the whole page, it doesn't flush the cache of the other webapps that would be on the page, so the way you use it is fine.


Regards,
  Serge Huber.



- -- --- -----=[ serge.huber at jahia dot com ]=---- --- -- -
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company





Reply via email to