Bug 51336 - need a topic for serving pre-compressed content
Summary: need a topic for serving pre-compressed content
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 2.5-HEAD
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: ---
Assignee: HTTP Server Documentation List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 17:35 UTC by Eric Covener
Modified: 2015-04-14 17:30 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Covener 2011-06-07 17:35:52 UTC
need a topic for serving pre-compressed content. 
Some folks say mod_negotiation is hard/overkill, and the canned rewrite/setenvif/mod_headers is probably easy to get wrong.

In 2.3.x, this probably involves more <if> and less rewrite.

One such canned config:

http://drupal.org/node/1040534

While it doesn't make 100% sense there, dropping it in mod_deflate doc is probably where people would best find it.
Comment 1 Eric Covener 2011-06-07 17:39:07 UTC
I guess if the doc ends up looking atrocious, then we should instead think about teaching mod_deflate [or a new module] how to do this stuff with a simple "PreCompressedFiles on" kind of flag and let it sort out the timing, Vary, etc.
Comment 2 Rich Bowen 2015-04-14 16:48:41 UTC
This looks like two separate tickets to me. Working on the first part - documenting how to do it. But it seems that the other bit - teaching mod_deflate new tricks - is a good thing too.
Comment 3 Rich Bowen 2015-04-14 17:07:05 UTC
Added RewriteRule version to trunk in r1673470. Will rewrite this with <If> once I get a test-case running.
Comment 4 Rich Bowen 2015-04-14 17:28:50 UTC
Opened https://bz.apache.org/bugzilla/show_bug.cgi?id=57813 for to track rewriting this using <If>
Comment 5 Rich Bowen 2015-04-14 17:30:44 UTC
Close