Skip to content

Stale Thumbnail Cache #209

@deckar01

Description

@deckar01

When an image is deleted and a new image is generated with the same name, the thumbnail for the deleted image is shown. The hash of the image path is used for the thumbnail name, which does not change when the image's content changes.

Hashing the image's content would work, but can be resource intensive. A relatively inexpensive cache busting heuristic would be to append the modified time of the file to the end of the path when hashing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions