Hello everyone!
The powerful avatar cache system has received a crucial upgrade. We've introduced the new `avatarCache.yml` file to give you, the user, full control over the existing caching and network functionalities.
✨ Key Improvements & New Features
⚙️ Full Configurability: You now have complete control over cache and network behavior via the new `avatarCache.yml` file. Customize settings such as:
Expiration Time: How long an avatar stays in the cache (`EXPIRATION-MINUTES`).
Maximum Size: The total number of avatars stored in memory (`MAXIMUM-SIZE`).
Network Timeouts: Define precise timeouts for HTTP calls, connections, and reads (`CALL-TIMEOUT`, `CONNECT-TIMEOUT`, `READ-TIMEOUT`).
Hot Reloading: Changes made to `avatarCache.yml` can now be applied without restarting your server using a simple console command.
️ Asynchronous Preloading: The system can now pre-load existing local avatar images (`.png` files) into the cache in the background upon startup, preventing initial lag spikes.
Applying Changes (No Restart Needed!)
After modifying the settings in your `avatarCache.yml` file, you can apply them instantly by running the following command in your server console: /acs clearcache
This command will clear the old cache and reload all the new configuration values.
Documentation
For a full explanation of how these options work, recommended settings, and more technical details, please visit our updated wiki page:
➡️
https://announce.stn-studios.dev/en/avatarCache
Enjoy the control! If you have any questions, feel free to ask.