neopixeldev / hypixel-api-java

Asynchronous Java wrapper for the Hypixel API
MIT License
6 stars 2 forks source link

Add automatic caching #111

Closed unpluggedsam closed 2 years ago

JxBP commented 2 years ago

I think we should give users the possibility to specify where the cache folder is as well as disable caching all together.

As a fallback folder if we user doesnt want to specify one we should try to put it in the OS's default temp folder (e.g. /tmp under most UNIXs).

unpluggedsam commented 2 years ago

I think we should give users the possibility to specify where the cache folder is as well as disable caching all together.

As a fallback folder if we user doesnt want to specify one we should try to put it in the OS's default temp folder (e.g. /tmp under most UNIXs).

I let the users provide their own caching strategy. I don't see the benefit of putting the caching folder under a different directory.

JxBP commented 2 years ago

So you like to randomly generate a folder and clutter the user's filesystem?