unclecode / crawl4ai

🔥🕷️ Crawl4AI: Crawl Smarter, Faster, Freely. For AI.
https://crawl4ai.com
Apache License 2.0
17k stars 1.26k forks source link

Cache Optionality #137

Open landmann opened 1 month ago

landmann commented 1 month ago

Allow the user to choose which folder to cache contents

unclecode commented 1 month ago

Hi, right now we create and use sqlite, and save the database in the home directory under the crawl4ai (e.g. ~/.crawl4ai) folder. Mu understanding is you referring to allowing users to choose the home directory so the rest will be there. I think that would be better because there are other certain things that we save over there, including the caching database. Is this something you're asking for? @landmann

landmann commented 1 month ago

Yep! Essentially, we're offloading these to a lambda function, and the lambda has a shared storage volume where I want to put this sqlite - this volume is not in the home directory so I'd love to specify where to put this sqlite file. Hope this makes sense, and thank you for this great library @unclecode !!