Glen, just put that .htaccess in the webroot and should work pretty well,
note that your server needs the deflate and headers modules to be enabled.

Hope this can be useful to anyone :)

On 9/14/07, Glen Lipka <[EMAIL PROTECTED]> wrote:
>
> Where does that .htaccess file go?  Just in the root?  Or in every folder
> that has a page?
>
> Glen
>
> On 9/14/07, Joan Piedra <[EMAIL PROTECTED]> wrote:
> >
> > I've found this to be the easiest and unobstrusive way to gzip my files
> > with a .htaccess file.
> >
> > <IfModule mod_headers.c>
> > <IfModule mod_deflate.c>
> >
> >     # Compress some text file types
> >     AddOutputFilterByType DEFLATE text/html text/css text/xml
> > application/x-javascript
> >
> >     # Deactivate compression for buggy browsers
> >     BrowserMatch ^Mozilla/4 gzip-only-text/html
> >     BrowserMatch ^Mozilla/4\.0[678] no-gzip
> >     BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
> >
> > </IfModule>
> > </IfModule>
> >
> >
> > On 9/14/07, seedy < [EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > > I also had the same thing happen.
> > > 14kb is only after it has been gzipped by your server.
> > > The version you are downloading has been minified, Its up to you to do
> > > the
> > > gzipping.
> > >
> > >
> > > lukwe wrote:
> > > >
> > > >
> > > > When I go to the GoogleCode page for the minified version it
> > > idsplays a 46
> > > > kb file to download;
> > > > seems like the file had been deflated again by the server (?!?).
> > > >
> > > > Is anyone else experiencing this ??!?
> > > >
> > > >
> > > > ciao
> > > >
> > >
> > > --
> > > View this message in context: 
> > > http://www.nabble.com/Downloading-1.2-minified%2C-getting-46kb-instead-of-14kb---%21--tf4442334s15494.html#a12676468
> > >
> > > Sent from the JQuery mailing list archive at Nabble.com.
> > >
> > >
> >
> >
> > --
> > Joan Piedra  ||  Frontend web developer
> > http://www.justaquit.com/  ||  http://www.joanpiedra.com/
>
>
>


-- 
Joan Piedra  ||  Frontend web developer
http://www.justaquit.com/  ||  http://www.joanpiedra.com/

Reply via email to