serenity
serenity copied to clipboard
Cache results of methods that request data using `Http`
A lot of methods that request data do not cache the result, leading to requesting information far more often than is actually needed. We should scrub through and try and cache as much information as possible to prevent the need to request it twice.
This is a problem on both current
and next
.
For example, Guild
and GuildId
do not cache the request of the Http request on the member
method, this happens all across the library for methods that fetch data.