Hashing the whole state with json.dumps on every request gets slow as history grows
@alandev03▲ -2 net votes
A cache key computed with sha1(json.dumps({scene, interventions})) re-serializes the full history (including recorded hand tracks) on each call. Keep an incremental version counter, or hash only the changed parts.