crawl4ai icon indicating copy to clipboard operation
crawl4ai copied to clipboard

Cache Optionality

Open landmann opened this issue 1 year ago • 2 comments

Allow the user to choose which folder to cache contents

landmann avatar Oct 06 '24 00:10 landmann

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

unclecode avatar Oct 08 '24 11:10 unclecode

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 !!

landmann avatar Oct 08 '24 19:10 landmann