Skin and username lookup caching for vlegacy ports
unascribed opened this issue ยท 0 comments
Right now, all vlegacy ports of Ears (anything <1.7.10) do not perform any kind of caching or batching, resulting in a lot of API requests and a risk of ratelimiting. (Note that since the Ears skin URL patch goes through all the normal vanilla skin loading code, the skin PNGs are cached. Just not the username and texture lookups.)
A caching system similar to that employed by modern versions should be introduced. This should be doable entirely in common. Should also probably move the calls to the session/profile service into a common class; it's currently copy-pasted into every vlegacy port... EDIT: Done