On 7/27/05, Holger Will <[EMAIL PROTECTED]> wrote: > Muhammad usman schrieb: > > > hi, > > if we cannot server svgz using IIS as webserver then what should we > > use instead of that , while there are Dynamic pages in your site > > consisting of ASp script . > > > oh you can serve svgz with IIS, but you have to manually set the > content-encoding header for each single file, or put all svgz file in > one folder, and serve this folder with "content-encoding: gzip" as default. > in IIS 6.0 you can encode all content dynamicly, that is you dont serve > svgz files, but you just upload normal svg, and the server will > automaticly zip the content on each request, and send the appropriate > content-encoding header. > > http://weblogs.asp.net/pscott/archive/2003/06/05/8326.aspx
There's two ways to serve gzipped content: In-HTTP by having the server and browser agree on whether to do it, or just sending gzipped files. The former is the most flexible, as the UA's abilities are considered, and it has to specifically request a gzipped transfer, falling back on a regular transfer, and it seems the standard say SVG viewers are more or less required to support gzipped transfers if they use HTTP, so in general it's a no-loss, probably-gain thing. I don't use IIS, but a quick google turned up http://radderz.me.uk/wiki/IIS_GZip_Compression which may be helpful start. Generally, sending gzip files is less useful as it counts on the UA decompressing which nothing really does, but SVG viewers seem to be the exception to the rule. The standard seems to mention, though not require it, but I do believe at least all major SVG viewers just load them. Adobe and Batik do, at least. Side note: Adobe's getURL transparently handles gzip compressed content, meaning you could also load gzipped svg files from a main svg file. I'm not sure how much this depends on serving them with the right mime type, though, ot whether Batik/Corel's implementations of the function do this too. --Bart ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/