Skip to content

Duplicate detection sometimes requires a cache purge #37

Description

@cameron1729

Set up the plugin with the min duplicates = 2

Upload two identical images with a width of less than 480 (the default width to trigger a resize) in to a course. If you look at the image sources, imageopt won't have processed them.

Purging caches causes everything to start working, so it should be a problem with the image not being added to the public files cache when it's first uploaded, then when the second one is uploaded, the image is still considered not public because it's not in the cache.

We need to figure out a way to invalidate the cache when the image is uploaded the second time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions