|
|
| Author |
Message |
|
| als |
Posted: Fri May 25, 2007 7:33 pm |
|
|
|
User
Joined: 29 Mar 2007
Posts: 51
|
*** src/yaws_server.erl.orig Sat May 26 03:37:16 2007
--- src/yaws_server.erl Sat May 26 03:37:37 2007
***************
*** 3409,3414 ****
--- 3409,3416 ----
true;
compressible_mime_type("application/x-dvi") ->
true;
+ compressible_mime_type("application/x-javascript") ->
+ true;
compressible_mime_type(_) ->
false.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Fri May 25, 2007 7:45 pm |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Fri May 25, 2007 10:43 pm |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Fri May 25, 2007 11:06 pm |
|
|
|
Guest
|
|
| Back to top |
|
| als |
Posted: Sat May 26, 2007 4:58 pm |
|
|
|
User
Joined: 29 Mar 2007
Posts: 51
|
On Saturday 26 May 2007 09:05, Bob Ippolito wrote:
> On 5/25/07, Claes Wikstrom <klacke@tail-f.com> wrote:
> > Bob Ippolito wrote:
> > > I think there are some caveats to compressing JavaScript for Internet
> > > Explorer.
> > >
> > > http://support.microsoft.com/default.aspx?scid=kb;en-us;Q312496
> > > http://support.microsoft.com/default.aspx?scid=kb;en-us;Q313712
> > >
> > > IIRC the workaround is to pad 2kb of whitespace to the head of JS
> > > files or something similarly silly.
> >
> > disgusting, and thus I guess the patch is no go.
>
> If the patch were revised to take the User-Agent into account then you
> could speed everything up and save bandwidth on the other 20% of users
> or so.. maybe more if you count IE 7.
>
> -bob
The IE bug reports do not appear to be dependent on the Mime type. Their fixes
were available in 2002. Should we care for such old bugs?
In yaws.erl there is a has_buggy_gzip() function that tests for combinations
of UA and Mime type. The problem can be solved in this function. It appears
to enable gzip encoding with MSIE for non-HTML files but this can be easily
changed. I don't know the UA strings for MSIE so I can't be sure.
--
Anthony Shipman Mamas don't let your babies
als@iinet.net.au grow up to be outsourced.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Sat May 26, 2007 8:38 pm |
|
|
|
Guest
|
Anthony Shipman wrote:
> The IE bug reports do not appear to be dependent on the Mime type. Their fixes
> were available in 2002. Should we care for such old bugs?
>
excellent investigation, patch applied.
Thanks
/klacke
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|