Internalise output data in custom component

Hi there

Has anyone experience, internalising (storing) data in the output parameter in a custom built component? So that when RH/GH is closed and opened again the output has not changed. The component has three outputs containing strings and a Rhino layer.

I have a boolean input parameter that controls if the component should be recomputed.

Thanks in advance
Kasper