Commit 1b50b87c authored by Paul Querna's avatar Paul Querna
Browse files

Now you can run mod_deflate before mod_cache, and cache it.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219913 13f79535-47bb-0310-9956-ffa450edef68
parent 7c7b4219
Loading
Loading
Loading
Loading
+3 −0
Changes for CHANGES: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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]
+2 −2
Changes for modules/cache/mod_cache.c: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -1018,7 +1018,7 @@ static void register_hooks(apr_pool_t *p)
        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 @@ static void register_hooks(apr_pool_t *p)
        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);
}