Is no interest in merging this patch? I'd like to see it accepted, so if there is anything I can do, please let me know.
On Fri, 2005-12-02 at 11:23 -0500, Rafael H. Schloming wrote: > Attached is an updated patch for the directory listings cache. I've made > the following changes: > > * the cache is now implemented in a separate class > (org.apache.catalina.util.ExpiringCache) > > * added the following servlet parameters: > - listings-cache [true] > - listings-cache-size [1000] > - listings-cache-ttl [5000] > > * fixed the cache to key on the full resource path > (I was under the mistaken impression that contextPath was enough) > > I also modified the synchronization behavior a bit. Previously if > directory A were being rendered then a request for directory B would > wait for it to finish before proceeding. With this patch a request will > only wait if a previous request is already rendering the same directory. > I believe this is closer to the ideal behavior since threads will never > waste resources rendering the same directory twice, but independent > directory listings will proceed in parallel. > > Please let me know if you would like any further changes. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Rafael H. Schloming <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]