To enhance the productivity and convenience of our Dart Codepad IDE, implementing a robust caching system is crucial. This feature ensures that code inputs are remembered even after extended periods of inactivity, facilitating seamless project continuation.
Suggested Solutions:
-
Unique Session ID Assignment:
- Upon starting a new session, assign a unique session ID to each user.
- This ID ensures distinct, retrievable user-specific data and the ability to switch between several projects. [may require extra efforts]
-
Real-Time Code Tracking:
- Capture and cache code inputs every second using WebSocket connections.
- This ensures no code changes are lost and provides continuous coding reliability.
Conclusion:
Been able to continue from previous state is vital and switching between different projects can be added later on.