Skip to content

Cache #2

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
Revisto opened this issue Dec 1, 2021 · 0 comments
Open

Cache #2

Revisto opened this issue Dec 1, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Revisto
Copy link
Owner

Revisto commented Dec 1, 2021

There is no need to download a song that has been downloaded in the last week.
Each music file we sent has a unique file id (in Telegram) and we can store them and when a music file which we have the file id of that is requested, there is no need to redownload it. This feature makes the bot much faster. But there should be a time period too, like 2 weeks or a month and if the file id we stored was for 6 months ago, it's nice to check it on youtube because maybe there is a new version or change or correct version in youtube.

@Revisto Revisto added the enhancement New feature or request label Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant