Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>Is <a href="http://en.wikipedia.org/wiki/Gzip" rel="nofollow noreferrer"><code>gzip</code></a> compression not sufficient for your needs?</strong> It gives you about 10:1 compression ratio, not only with HTML contents but <strong>also with JavaScript, CSS etc.</strong> files, and is readily available on most servers or reverse proxies (e.g. <a href="http://www.cyberciti.biz/tips/speed-up-apache-20-web-access-or-downloads-with-mod_deflate.html" rel="nofollow noreferrer">Apache's <code>mod_deflate</code></a>, <a href="http://tumblelog.jauderho.com/post/27655495/gzip-compression-with-nginx" rel="nofollow noreferrer">Nginx's <code>NginxHttpGzipModule</code></a> etc.) and all modern browsers (you can instruct both Apache and Nginx to skip compression for specific browsers based on <code>User-Agent</code>.)</p> <p>You'll be surprised how close <code>gzip</code> compression comes to optimal. <strong>Some people have suggested <a href="http://en.wikipedia.org/wiki/Minification_%28programming%29" rel="nofollow noreferrer">minifying</a> your files</strong>; however, unless your files contain lots of comments (which the minifier can discard completely, i.e. what you probably referred to as "lossy" -- but something you probably don't want to do with HTML anyway, not unless you're sure that none of your <code>&lt;script&gt;</code> or <code>&lt;style&gt;</code> tags are inside HTML comments <code>&lt;!-- --&gt;</code> to accommodate antediluvian browsers), remember that minifying achieves most of its gains from a technique similar to (yet more limited than) <a href="http://en.wikipedia.org/wiki/DEFLATE" rel="nofollow noreferrer">DEFLATE</a> -- so expect <strong>a minified file to be larger or much larger than a <code>gzip</code>ped original</strong> (particularly true with HTML, in which you are stuck with W3C's tags and attributes, and only <code>gzip</code> can help you there), and that <strong><code>gzip</code>ping a minified file will give you minimal gain over <code>gzip</code>ing the original file</strong> (again, unless the original file contained lots of comments which can be safely discarded by a minifier.)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload