Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.
The following page has been changed by LaurentPerez: http://wiki.apache.org/cocoon/ControllingModCache ------------------------------------------------------------------------------ </VirtualHost> }}} + + == Update regarding mod_cache under Apache httpd 2.2.x == + + The mod_cache bundled with versions 2.0.x of Apache httpd does not work fine with the "Vary:" header : when you set this header, mod_cache will detect it but will simply regenerate over and over again the cached content, resulting in zero cache efficiency. + + The bug has been corrected in branch 2.2 of Apache, with version 2.2.0 being labeled as the new stable one (as of January 2006). However, a severe regression bug was also introduced when using mod_cache in connection with mod_proxy ! The bugzilla entry is at http://issues.apache.org/bugzilla/show_bug.cgi?id=38017 and the 2.2.0 patch is available at http://issues.apache.org/bugzilla/attachment.cgi?id=17342 + + So if you want to cache content responses based on http headers variations thanks to "Vary:", you have to run Cocoon under Apache 2.2 with this bugzilla patch. Happy caching :) +
