Open michael-e opened 5 years ago
If an original image file has been deleted, $last_modified_gmt and $etag will be null. This will always make one of the conditions in this line return true.
$last_modified_gmt
$etag
null
Thus, JIT will send a 304 response for revalidation requests (If-None-Match resp. If-Modified-Since). Forever! Which is wrong, obviously.
If-None-Match
If-Modified-Since
I will send a PR to 1.x.
If an original image file has been deleted,
$last_modified_gmt
and$etag
will benull
. This will always make one of the conditions in this line return true.Thus, JIT will send a 304 response for revalidation requests (
If-None-Match
resp.If-Modified-Since
). Forever! Which is wrong, obviously.I will send a PR to 1.x.