Skip to content

[1.x] JIT sends 304 responses for deleted originals #171

Open
@michael-e

Description

@michael-e

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.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions