Cache ModContentManagers loading of images#980
Draft
SinZ163 wants to merge 2 commits into
Draft
Conversation
Pathoschild
force-pushed
the
develop
branch
3 times, most recently
from
April 7, 2025 02:44
f7c917f to
340ff4e
Compare
SinZ163
force-pushed
the
optimization/modfile-io
branch
from
April 9, 2025 22:31
53509b1 to
1964f4c
Compare
Pathoschild
force-pushed
the
develop
branch
2 times, most recently
from
April 13, 2025 23:13
27fb753 to
8bbbf08
Compare
Pathoschild
force-pushed
the
develop
branch
2 times, most recently
from
July 12, 2025 21:54
cfac33e to
6c0c089
Compare
Pathoschild
force-pushed
the
develop
branch
11 times, most recently
from
January 14, 2026 05:17
0f14024 to
e76e995
Compare
Pathoschild
force-pushed
the
develop
branch
2 times, most recently
from
January 26, 2026 00:29
3e66850 to
d40cbde
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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