We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
i'd like to use Souin with Caddy and leverage one of the disk-based storage adapters - such as Badger or NutsDB.
In an effort to prevent "out of disk" system errors, how can I limit the amount of disk space that can be used by the cache?
The text was updated successfully, but these errors were encountered:
Hey @acejam I think that's not possible ATM with these storages. Maybe we could implement the directory size in the simplefs storage https://github.com/darkweak/storages.
Sorry, something went wrong.
Thanks for the idea. Is the size parameter not used for this already? https://github.com/darkweak/storages/blob/main/simplefs/simplefs.go#L73
size
The size is about the number of objects to store but it doesn't limit the filesystem size.
No branches or pull requests
Hello,
i'd like to use Souin with Caddy and leverage one of the disk-based storage adapters - such as Badger or NutsDB.
In an effort to prevent "out of disk" system errors, how can I limit the amount of disk space that can be used by the cache?
The text was updated successfully, but these errors were encountered: