DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=21492>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=21492 Bad file size in disk cache for large css files ------- Additional Comments From [EMAIL PROTECTED] 2004-08-24 08:53 ------- I guess my problem is the same. I use mod_disk_cache to cache static files delivered by Tomcat via mod_jk. Unfortunately you did not write if you are caching local files or remote files (delivered by mod_jk, mod_proxy or something similar). I noticed that when you abort the download of a file which should be cached and whos origin is on a remote server, the partly downloaded file gets cached. The second request for this file only delivers the partly cached file and thus leads to the problems described by you. In my case the problem showed up by incomplete jpg pictures. The reason for this behaviour can be found in mod_disk_cache. mod_disk_cache does not notice that a request has been aborted. I wrote a small patch (against 2.0.50) that drops the partly cached file if the connection has been aborted. Unfortunately the CacheForceCompletion of mod_cache is not implemented right now such that nearly completely downloaded files get lost for the cache. But this is better than delivering only parts of the files in the following requests. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
