mshumayl / ai-daleel

AI Daleel source code.
https://ai-daleel.vercel.app
1 stars 0 forks source link

Optimize caching #10

Open mshumayl opened 1 year ago

mshumayl commented 1 year ago

Currently, caching is only implemented for OpenAI API responses. If the database response is also cached, there would be no need to query the database every time the user returns to the app window. This greatly reduces API calls.