You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2005/07/20 16:35:22 UTC

svn commit: r219913 - in /httpd/httpd/trunk: CHANGES modules/cache/mod_cache.c

Author: pquerna
Date: Wed Jul 20 07:35:21 2005
New Revision: 219913

URL: http://svn.apache.org/viewcvs?rev=219913&view=rev
Log:
Now you can run mod_deflate before mod_cache, and cache it.

Modified:
    httpd/httpd/trunk/CHANGES
    httpd/httpd/trunk/modules/cache/mod_cache.c

Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/CHANGES?rev=219913&r1=219912&r2=219913&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Wed Jul 20 07:35:21 2005
@@ -2,6 +2,9 @@
 Changes with Apache 2.1.7
   [Remove entries to the current 2.0 section below, when backported]
 
+  *) mod_cache: Run the CACHE_SAVE and CACHE_OUT Filters after other content
+     filters. [Paul Querna]
+
   *) mod_negotiation: Correctly report 404 instead of 403 for missing files.
      [Paul Querna]
 

Modified: httpd/httpd/trunk/modules/cache/mod_cache.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/cache/mod_cache.c?rev=219913&r1=219912&r2=219913&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_cache.c Wed Jul 20 07:35:21 2005
@@ -1018,7 +1018,7 @@
         ap_register_output_filter("CACHE_SAVE", 
                                   cache_save_filter, 
                                   NULL,
-                                  AP_FTYPE_CONTENT_SET-1);
+                                  AP_FTYPE_CONTENT_SET+1);
     /* CACHE_OUT must go into the filter chain before SUBREQ_CORE to
      * handle subrequsts. Decrementing filter type by 1 ensures this 
      * happens.
@@ -1027,7 +1027,7 @@
         ap_register_output_filter("CACHE_OUT", 
                                   cache_out_filter, 
                                   NULL,
-                                  AP_FTYPE_CONTENT_SET-1);
+                                  AP_FTYPE_CONTENT_SET+1);
     ap_hook_post_config(cache_post_config, NULL, NULL, APR_HOOK_REALLY_FIRST);
 }