From: Ken Coar Date: Wed, 6 Feb 2002 19:09:47 +0000 (+0000) Subject: Add the FileETag description X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff308a1ede9e550557a2166ecb5db5403107030f;p=apache Add the FileETag description git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93307 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html b/docs/manual/mod/core.html index 578835fa7e..b2e9c46465 100644 --- a/docs/manual/mod/core.html +++ b/docs/manual/mod/core.html @@ -53,6 +53,8 @@
  • ErrorLog
  • +
  • FileETag
  • +
  • <Files>
  • <FilesMatch>
  • @@ -867,6 +869,63 @@ and Apache Log Files


    +

    FileETag directive

    + Syntax: FileETag + component ...
    + Context: server config, virtual + host, directory, .htaccess
    + Override: FileInfo
    + Status: core
    + Compatibility: only available + in Apache 1.3.23 versions and later. + +

    + The FileETag directive configures the file attributes that are + used to create the ETag (entity tag) response header field + when the document is based on a file. + (The ETag value is used in cache management to save network + bandwidth.) In Apache 1.3.22 and earlier, the ETag value was + always formed from the file's inode, size, and last-modified + time (mtime). The FileETag directive allows you to choose + which of these -- if any -- should be used. The recognised + keywords are: +

    +
    +
    INode
    +
    The file's i-node number will be included in the calculation
    +
    MTime
    +
    The date and time the file was last modified will be included
    +
    Size
    +
    The number of bytes in the file will be included
    +
    All
    +
    All available fields will be used (equivalent to + 'FileETag INode MTime Size')
    +
    None
    +
    If a document is file-based, no ETag field will be included in the + response
    +
    +

    + The INode, MTime, and Size keywords may be prefixed with either '+' + or '-', which allow changes to be made to the default setting + inherited from a broader scope. Any keyword appearing without + such a prefix immediately and completely cancels the inherited + setting. +

    +

    + If a directory's configuration includes + 'FileETag INode MTime Size', and a + subdirectory's includes 'FileETag -INode', + the setting for that subdirectory (which will be inherited by + any sub-subdirectories that don't override it) will be equivalent to + 'FileETag MTime Size'. +

    +
    +

    <Files> directive

    Syntax: <Files