On Wed, 27 Dec 2000, Scott Gregory Miller wrote:
> Why not have a datstructure that just doesnt grow to big, a lot like the
> Freenet datastore, rather than worrying about clearing.
I should not have done that because unless we frequently clear the cache
it prevents automatic pseudo-updates from working. We only need to cache
the thing for two minutes or less, while the images load. After that the
slight delay of requesting the map is imperceptible (when a link is
clicked). I don't think we need to worry about people updating sites any
more frequently than 1 minute intervals. Might introduce a one second
delay if a site's images are half requested when the cache clears. Oh
well, can't really help it while remaining efficient.
What are you, some kind of saboteur? Giving me malicious advice and all. :-)
> On Wed, 27 Dec 2000, Mark J. Roberts wrote:
>
> > On Wed, 27 Dec 2000, Scott Gregory Miller wrote:
> >
> > > > MapHandler starts a thread to delete the cache every 10 minutes. This
> > > > confuses the clients and they sit around forever waiting for the thread to
> > > > terminate, which it never does.
> > > >
> > > > Bleah. At least FProxy works, even though it allows connections from
> > > > MediaEvilWhatever. Bleah...
> > > Make the thread a daemon thread.
> >
> > Yay! (Amazing how much cool stuff is built into Java.)
> >
> > Are we comfortable clearing the cache every 10 minutes, or must this be
> > configurable? I don't see why anyone would need to configure it, though. I
> > mean, how much crap can you download in 10 minutes?
> >
> >
> > --
> > Mark Roberts
> > [EMAIL PROTECTED]
> >
> >
> > _______________________________________________
> > Freenet-dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/mailman/listinfo/freenet-dev
> >
> >
>
>
> _______________________________________________
> Freenet-dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/freenet-dev
>
--
Mark Roberts
[EMAIL PROTECTED]
_______________________________________________
Freenet-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/freenet-dev