Loading ...
Sorry, an error occurred while loading the content.

Re: Organized Crime in American Web Design

Expand Messages
  • th_w@ymail.com
    ... Yeah, you can count on the Good Guys from Europe! In your face, American Web Design Criminals! Kidding aside, many thanks for this post! Up to now I
    Message 1 of 9 , Nov 7, 2010
    • 0 Attachment
      --- In svg-developers@yahoogroups.com, "Erik Dahlstrom" <ed@...> wrote:
      >
      > On Sat, 06 Nov 2010 02:19:49 +0100, jamesd <jcdeering1@...> wrote:
      >
      > >
      > >> In order to serve compressed svg file you must specify
      > >>
      > >> Content-Encoding: gzip
      > >>
      > >
      > > And where do I specify the Content-Encoding: gzip? If it is on the
      > > server and I don't have access to it, then I stand by my statements.
      >
      > If you put your content on the server then I think you do have access.
      > According to the headers your server is Apache, so try uploading a file
      > named ".htaccess" (without the quotes) with the following raw text content:
      >
      > # Adding the SVG media type and encoding in case they aren't already
      > AddType image/svg+xml svg svgz
      > AddEncoding gzip svgz
      > AddCharset utf-8 .svg
      >
      >
      > If you want, you don't actually have to rename your files to *.svgz, and
      > instead just let the server transmit the files using gzip compression
      > automatically. To get this you can append the following to the .htaccess
      > file:
      >
      > # gzip compression.
      > <IfModule mod_deflate.c>
      > # html, txt, css, js, json, xml, htc:
      > AddOutputFilterByType DEFLATE text/html text/plain text/css
      > application/json
      > AddOutputFilterByType DEFLATE text/javascript application/javascript
      > application/x-javascript
      > AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
      >
      > # webfonts and svg:
      > <FilesMatch "\.(ttf|otf|eot|svg)$" >
      > SetOutputFilter DEFLATE
      > </FilesMatch>
      > </IfModule>
      >
      >

      Yeah, you can count on the Good Guys from Europe! In your face, American Web Design Criminals!

      Kidding aside, many thanks for this post! Up to now I uploaded my SVG and XSLT files with extension .xml. That works, but it's nicer with the proper extension.

      Thomas W.
    Your message has been successfully submitted and would be delivered to recipients shortly.