I guess there is mechanism somewhere which flushes the cache in case of change 
(be for groovy or everything else).

Jacques

From: "Pankaj Jain" <[email protected]>
But it is taking expire time as 0, that means the component in cache will never 
expire.

-----Original Message-----
From: David E Jones [mailto:[email protected]]
Sent: Friday, December 11, 2009 3:53 PM
To: [email protected]
Subject: Re: Query about Cache in groovy


By default there is a timeout on this cache.

-David


On Dec 11, 2009, at 4:20 AM, Pankaj Jain wrote:

Hi

In ofbiz, when we use a groovy file , in ist call to groovy, .groovy file is read and parsed and then we store the generated class file in a cache and after that for every next call to groovy, we refer the cache to get the class file. But if we update the .groovy files at run time, the changes works fine. I am not getting this b'coz after ist call we always refer cache to get the script class file. we every time don't create the class file.

How it is being done? The same thing is happening in some simple methods and in 
ftl files also. Please help ????

Pankaj jain

________________________________
This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________


______________________________________________________________________

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________



Reply via email to