PolyhedralDev / Terra

Voxel world generation modding platform
MIT License
638 stars 83 forks source link

Improve image caching #422

Closed Astrashh closed 9 months ago

Astrashh commented 10 months ago

Pull Request

Brief description.

Adds parameters to pack.yml that provide more control over image caching behaviour:

What Issues Does This Fix?

421

Licensing

Types of changes

Compatiblity

Contribution Guidelines.

Documentation

Testing

duplexsystem commented 10 months ago

You could simply the images.cache.unload-on-timeout and images.cache.timeout keys into just one key where zero is no timeout and any other number is a time out of that long. Should make configuring this easier.