1
0
mirror of https://github.com/SillyTavern/SillyTavern.git synced 2025-04-27 08:58:44 +02:00

2 Commits

Author SHA1 Message Date
Cohee
dabcf6e994 Add config to StructuredCloneMap 2024-07-22 22:34:03 +03:00
Wolfsblvt
731d2864de Proper caching for loaded WI
- Implement StructurecCloneMap, which is a map that provides structured clones on both get and set
- Don't delete WI cache on save, but update the cache
- Ensure that cache is updated immediately, so any future get will load the new saved data already
- Still be consistent with clones, so requested cache data that wasn't saved isn't taken into account
2024-07-22 03:17:06 +02:00