Notes.ini Entry



Name:

    HTTPDisablePreCompressedGzipFiles

Syntax

    HTTPDisablePreCompressedGzipFiles=0 / 1

Applies to:

    Servers

Add-on:


    First Release:

      8.5

    Obsolete since:


      Category:

        HTTP

      Default:

        0

      UI equivalent:

        None

      Description:
      Allows you to disable checking for and serving gzip compressed versions of static files. When this setting is set to disable, all other file system gzip settings have no effect. The default for the server is to check for compressed files.

      Valid Values are:
      0 = enable GZIP
      1 = disable GZIP

      If this setting is not present in the NOTES.INI file, it is enabled by default.

      HTTPDisablePreCompressedGzipFiles=1 -- Disables checking for and serving file system compressed files.

      CHANGE IN 8.5.1: This entry is ONLY used if the server has "Load Internet configurations from Server\Internet Sites documents:" set to disabled.

      Details from the 8.5 reviewers guide

      2.8 GNU zip (gzip) files
      The Domino Web server can serve files compressed by gzip (GNU zip). This feature is on by default, but you must add the compressed file to the appropriate server directory, and certain restrictions apply, as listed below.
      The Domino Web Server serves files compressed by gzip (GNU zip), under the following conditions:
      • The Notes.ini file does not contain the following setting: HTTPDisablePreCompressedGzipFiles=1.

      • The name of the compressed file is the name of the original file with an additional extension of .gz. For example, the gzip counterpart of c:\notes\data\domino\html\foo.html is c:\notes\data\domino\html\foo.html.gz. (A browser sees this file as http://servername/foo.html.)

      • The original file is present in the same directory as the gzip file. The original file is served if it is newer than the gzip file or compression is disabled.

      • The browser or other client sends the request header Accept-Encoding: gzip (the default for most browsers).

      • The MIME Content-type of the file matches text/* (all subtypes of type text) or application/* (all subtypes of type application). The server does not support sending a range of bytes for a file that has a gzip counterpart. The server does not send "Accept-Ranges: bytes" in the HTTP header and sends the entire compressed file.