We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
Don't allow empty values for comparison
a2e8228
Fixes symphonycms#171 (JIT sends 304 responses for deleted originals)
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: