https://bz.apache.org/bugzilla/show_bug.cgi?id=57813

--- Comment #6 from Rich Bowen <rbo...@apache.org> ---
In particular:

-    RewriteCond "%{HTTP:Accept-encoding}" "gzip"
-    RewriteCond "%{REQUEST_FILENAME}\.gz" -s
-    RewriteRule "^(.*)\.(css|js)"         "$1\.$2\.gz" [QSA]
+    &lt;If "%{HTTP:Accept-encoding} =~ /gzip/ &amp;&amp; -s
'%{REQUEST_FILENAME}\.gz'"&gt;
+        RewriteRule "^(.*)\.(css|js)"  "$1\.$2\.gz" [QSA]
+    &lt;/If&gt;


The (proposed) new core directive hasn't materialized in that time, and, as per
Eric's comment, this is not really improving things much - just swapping three
lines with three other lines. So ... not sure whether this is really worth
doing or not. If anything, the Rewrite version is possibly a little more
readable. What do y'all think?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscr...@httpd.apache.org
For additional commands, e-mail: docs-h...@httpd.apache.org

Reply via email to