Skip to content

feat: Add URL caching and orphaned file cleanup #58

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abdelbaki1
Copy link

Good evening,
i have been using this library for quite few time and i 'd like to share this PR which introduces several improvements to the django-minio-backend:

URL Caching

  • Added caching layer for pre-signed URLs to improve performance
  • Configurable cache timeout and prefix
  • Automatic cache invalidation based on ETag
  • Skips caching for public buckets

Orphaned File Management

  • New management command to clean orphaned files from MinIO
  • Option to check for missing files referenced in database
  • Dry-run mode to preview changes
  • Improved error handling and logging

Documentation

  • Updated README with new features and configuration options

@Alireza2n
Copy link

Nice work @abdelbaki1.
I can help with test coverage if @theriverman is onboard with merging the PR.

@abdelbaki1
Copy link
Author

I am already using this on my projects and i forgot about adding the tests, appreciate your help

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

Successfully merging this pull request may close these issues.

2 participants