httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58964] New: Problems when cahing more than one SSI level
Date Wed, 03 Feb 2016 13:30:26 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58964

            Bug ID: 58964
           Summary: Problems when cahing more than one SSI level
           Product: Apache httpd-2
           Version: 2.4.18
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_cache
          Assignee: bugs@httpd.apache.org
          Reporter: blanco.m.ivan@gmail.com

If html has more thant one SSI level apache only cache parent html, for
example:

test1.html with that content:
   <!--#include virtual="test2.html"-->
test2.html with that content:
   <!--#include virtual="test3.html"-->
test3.html with that content:
   <!--#include virtual="test4.html"--> 
test4.html with that content:
   test4

In that case if we request test1.html we will get a MISS fromt that page and
the second request we will get a HIT, but if we request directly the second
time test2.html,test3.html,test4.html we will get a MISS, and I think its
better to get a HIT, for example test3.html can have different Expiration time
than the other ones, and thats useful to have more dynamic content with less
apache load.

I have tested with that configuration mod_cache like this:

CacheSocache memcache:localhost:11211
CacheSocacheMaxSize 10240
CacheQuickHandler Off
AddOutputFilterByType INCLUDES;CACHE;BUFFER text/html

CacheIgnoreCacheControl On
CacheIgnoreQueryString Off
CacheStoreExpired On
CacheIgnoreNoLastMod On

And in VHOST:
<Location />
   BufferSize 1024000
   CacheEnable socache
   SSILastModified On
   SSIETag On
</Location>

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message