sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (572B)


      1 precompression
      2 ==============
      3 
      4 Description
      5 -----------
      6 
      7 This patch adds a new capability to serve compressed versions of requested files.
      8 
      9 If the client supports compression, quark will try to serve <file>.gz first, if it exists.
     10 
     11 This method is cheap to implement, but has several shortcomings:
     12 * Dirlists are not supported
     13 * Range requests are not supported
     14 
     15 You can generate compressed files for your webroot using
     16 	find /var/www -type f -exec gzip -k {} \;
     17 
     18 Download
     19 --------
     20 * [quark-precompression-20200308-3c7049e.diff](quark-precompression-20200308-3c7049e.diff)