Skip to content

Broken links in cache after clear_delete_all #750

Open
@uri-rodberg

Description

Hi,

After running manage.py thumbnail clear_delete_all I noticed that there are broken images in the website (images that returned HTTP 404). I tried to set THUMBNAIL_CACHE_TIMEOUT = 1 in settings but it didn't fix this. But after rebooting the server the problem was solved. I think that the cache is not cleared after running manage.py thumbnail clear_delete_all and this is what caused the problem. The cache should be cleared after running manage.py thumbnail clear_delete_all.

Also, is there a management command to clear all the cache? And if not, there should be.

Thanks,
Uri.

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