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

你好 可以使用 但是响应速度很慢 #3

Open
912334508 opened this issue Dec 6, 2024 · 1 comment
Open

你好 可以使用 但是响应速度很慢 #3

912334508 opened this issue Dec 6, 2024 · 1 comment

Comments

@912334508
Copy link

No description provided.

@chenelias
Copy link
Owner

Hi there, sorry for the late reply.

Though the cambridge-dictionary-api is scraping data from cambridge dictionary and wiki dictionary website, the response time of the API will be influenced by the response time of these websites.

If you want to get a blazing fast API, for my advice, you can built a data base that will store the data of the API response every time a new request that the word isn't in the database is made. This way, if next time a request is made for the same word, the API will return the data from the database instead of scraping the data from the website again. This will make the API response time faster.

Have a nice day!

Elias

@chenelias chenelias added TODO This feature is going to be worked on and removed TODO This feature is going to be worked on labels Dec 13, 2024
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

2 participants