You should set HTTP_IF_NONE_MATCH and HTTP_IF_MODIFIED_SINCE: ``` fastcgi_param HTTP_IF_NONE_MATCH $http_if_none_match; fastcgi_param HTTP_IF_MODIFIED_SINCE $http_if_modified_since; ```