tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafael H. Schloming" <rafa...@redhat.com>
Subject Re: directory listings (updated patch)
Date Wed, 04 Jan 2006 14:55:26 GMT
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: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
-- 
Rafael H. Schloming <rafaels@redhat.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message