HTTP core directives
if_modified_since directive
Controls modification-date comparison. Default exact; http, server, location. before accepts a response time no later than the supplied date.
Formal Syntax & Structure
nginx syntaxnginx
if_modified_since off | exact | before;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| mode | off | exact | before | Ignore the modification date, require equality, or accept an earlier modification time, respectively. |
Working Example
Example Snippetnginx
if_modified_since exact;