The workaround
acceptsGzip := ( @Contains( @GetHTTPHeader( "Accept-Encoding" ) ; "gzip" ) );
{<script src="/} + @WebDbName +
@If( acceptsGzip ; "/gz/mootools.js" ; "/lib/mootools.js" ) + {"></script>}
My useful and useless experiments with Lotus Notes / Domino
2009 All Rights Reserved DontPanic - a blog about Lotus Notes / Domino.
Free Blogger Templates by DeluxeTemplates.net • Wordpress designed by Acosmin
1 comments:
Hi,
We recenty had some problems with serving gzipped content to users using Internet Explorer 6. Altough IE6 says it supports gzip, it (sometimes) doesn't decode it correctly. Seems to be a bug/ feature: search Google and you'll find lots of users with the same problems.
That's why we've also included a IE6 check. Use the non-gzipped version if:
(@LowerCase(@BrowserInfo("BrowserType"))="microsoft") & (@BrowserInfo("Version")=6)
Mark
Post a Comment