Cache ModContentManagers loading of images #980
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TODO: Add an off switch for content pack authors or have mods like Content Patcher invoke a method to clear the cache
Before:

https://smapi.io/log/d9c4b827f28242928f2a8aff9512a5ee
https://smapi.io/json/none/1852f5afb3d9464a86e44ffa62e29287
After:

https://smapi.io/log/83897c04742e471a872a39b487bc1273
https://smapi.io/json/none/3b30032ffeed425cb02fd878308d51e1