Skip to content
New issue

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

Broken links in cache after clear_delete_all #750

Open
uri-rodberg opened this issue Feb 23, 2024 · 0 comments
Open

Broken links in cache after clear_delete_all #750

uri-rodberg opened this issue Feb 23, 2024 · 0 comments

Comments

@uri-rodberg
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant