httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40278] New: - mod_disk_cache delay response if object is not expired and mime type is incorrect
Date Thu, 17 Aug 2006 14:54:18 GMT
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=40278>.
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=40278

           Summary: mod_disk_cache delay response if  object is not expired
                    and mime type is incorrect
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_disk_cache
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: croller@generali.fr


Hi,

with an Apache 2.2.3 acting as a reverse proxy (with mod_disk_cache enabled and
worker), mod_disk_cache delays response (14,95 seconds to get the response) if 
object (/resources/overlay.png in the capture below) is not expired and mime
type is incorrect (text/plain which is default mime type when none is set
instead of image/png). Before in the capture, the response is quite
instantaneous (0.0009 second) when object is expired.

I solved my problem by setting correct mime type in the webserver for this
object, but in my understanding, the behaviour should not be different in both
case. Is there any reason that Apache reacts like this ?

Thanks in advance


In the following capture, client is 172.30.2.21.
Incoming Apache's interface is 172.30.13.98 (client side).
Outgoing Apache's interface is 172.30.13.80 (server side).
Web server (Websphere) is 172.30.5.43.

Relevant config is :
Timeout 1200
KeepAlive On
MaxKeepAliveRequests 0
KeepAliveTimeout 15

ServerLimit             32
StartServers             2
MaxClients             200
MinSpareThreads         50
MaxSpareThreads        125
ThreadsPerChild         50
MaxRequestsPerChild  10000

TypesConfig conf/mime.types
DefaultType text/plain
DeflateBufferSize 8192
DeflateCompressionLevel 6
DeflateFilterNote Ratio ratio
DeflateMemLevel 9
DeflateWindowSize 15

SetEnvIfNoCase Request_URI
"\.(gif|jpe?g|jpe|jfif|pjpeg|pjp|dcx|xif|png|xbm|ico)$" no-gzip dont-vary
SetEnvIfNoCase Request_URI
"\.(mp3|mp2|mpa|abs|mpe?ga|midi?|rmi|wax|wma|ram?|rmm?|wav|m3u|pls|xpl|as|it|mod|s3m|xm|mp1)$"
no-gzip dont-vary
SetEnvIfNoCase Request_URI
"\.(mpv2|mp2v|avi|wmv|asf|asx|wm|ivf|mpe?g|mpe|mpv|m1v|mov|qt|wvx|swf)$" no-gzip
dont-vary
SetEnvIfNoCase Request_URI "\.(zip|gz|bz2|rar|ace)$" no-gzip dont-vary
SetEnvIfNoCase Request_URI "\.(js|css)$" no-gzip dont-vary
SetEnvIfNoCase Request_URI "\.(pdf)$" no-gzip dont-vary
Header append Vary User-Agent env=!dont-vary
BrowserMatch MSIE gzip-only-text/html
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message