I copied the Jetspeed mailing list with this.

Santiago Gala wrote:
> 
> I have seen the new version of the TODO file. I wanted to tell you
> something about the cache.
> 
> The '?' is only half of the problem. The current algorithm for the cache
> refresher is broken. It stores a file in the cache say, today at noon,
> and then it compares it, when it is time of refreshing, with the last
> modified date of the file, that could be last week. A lot of files have
> a lastmodified date of '0', meaning 1970-01-01, and those file should
> never be cached. Moreover files are in this case.

Yes they should be cached.  It is just that we need to update them every
X interval.   Thisi should be obtained from OCS.
 
> I'm fixing this and other bugs related with the DiskCacheRefresher. I'll
> send a patch soon.

cool!

> I modify the file date in the disk (a jdk1.2 api), so the test is
> meaningful. The situation gets better, but still could be inproved.
> 
> Other stuff: I think that Jetspeed still opens the DTD for each channel.
> The setup is as follows:

I will check more into this.  I initially thought I was wrong about
this.  I grabbed the Xerces sources and stepped through most of them but
couldn't find where it was connecting.  Where I did think it was
connecting it was just reading the DTD from disk.  I will look into it
again.  I just put it into TODO.
 
> I initialized Jetspeed, and ran the diskcachemanager (my test version)
> while online.
> Then I disconnected the machine. Later (next day), I perform a search.
> I got a blank portlet. This is the relevant fragment in the log:
> 
<snip>

It was in Italian ( I guess ) so I couldn't understand it :(

Kevin

-- 
Kevin A Burton (e-mail: [EMAIL PROTECTED], UIN: 73488596, ZKey:
burtonator)
http://relativity.yi.org
Message to SUN:  "Please Open Source Java!"
To fight and conquer in all your battles is not supreme excellence;
supreme 
excellence consists in breaking the enemy's resistance without fighting.
    - Sun Tzu, 300 B.C.


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to