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

NameTypeDescription
modeoff | exact | beforeIgnore the modification date, require equality, or accept an earlier modification time, respectively.

Working Example

Example Snippetnginx
if_modified_since exact;
Nginx Reference