hurshi / dio-http-cache

http cache lib for Flutter dio like RxCache
Apache License 2.0
274 stars 223 forks source link

Add documentation for baseUrl parameter in CacheConfig #45

Closed ThinkDigitalSoftware closed 4 years ago

ThinkDigitalSoftware commented 4 years ago

Hi, I see CacheConfig.baseUrl as a parameter, but there's no documentation on what it's for. Could you explain the purpose of this parameter?

ThinkDigitalSoftware commented 4 years ago

Repurposing this issue

hurshi commented 4 years ago

Hi, thanks for your issue;

I'm sorry for that, And I have updated README. baseUrl: it’s optional; If you don't have set baseUrl in CacheConfig, when you call deleteCache, you need provide full path like "https://www.google.com/search?q=hello", but not just "search?q=hello".