Not sure what you exactly want to achieve, what your microflows actually execute and setup of the page.
But let me give it a try;
Some basics
- When creating an object, it will exist in memory until its deleted or gets out of scope and is garbage collected
- In scope is; as long as it is used in micro/nanoflows, pages or referenced to an object which is kept in memory ( same rules apply)
Which means
When you navigate back and forth in the browser and navigation is done using microflows, which also handle the creation of objects you must handle creation of objects more carefully
Basic options
- When navigating back, retrieve the referenced Calc object by association and delete it
- When navigating a second time forward (after gone back) retrieve the referenced calc object by association. Check if resulting variable != empty. When not empty, skip object creation. If empty create object.
Hope this helps