Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 93160 invoked by uid 500); 19 Jul 2002 22:12:34 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 93147 invoked from network); 19 Jul 2002 22:12:34 -0000 Message-ID: <3D388ED8.3030605@attbi.com> Date: Fri, 19 Jul 2002 16:12:40 -0600 From: Jerry Baker User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020718 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: Patch mod_deflate to gzip text/*? References: <3D3862AC.1010509@attbi.com> <20020719211851.GK17660@apache.org> <3D388B95.1080202@attbi.com> <20020719220728.GQ17660@apache.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jul 2002 22:12:41.0068 (UTC) FILETIME=[661B72C0:01C22F71] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Justin Erenkrantz says: >On Fri, Jul 19, 2002 at 03:58:45PM -0600, Jerry Baker wrote: >> I want it to not compress anything except for text/*. The problem is >> that IE cannot understand compressed images when the images are not part >> of an HTML document. So, I want the benefit of compressing js and css >> files, but do not want to compress images or other binary content. > >I think the proper solution is to allow wildcard support in >AddOutputFiltersByType, so that you can do: > >AddOutputFiltersByType DEFLATE text/* > >Another solution is to do (can do with the current code): > >AddOutputFiltersByType DEFLATE text/html >AddOutputFilters DEFLATE js css > >The addition of wildcard support could get very expensive at >first thought. Perhaps we could find a way to make that >efficient. That's unlikely if we keep using a hashtable for >this. -- justin > > > But I only want it to gzip js and css when the browser is IE5+ or Mozilla.