I am trying to fetch data from the worker script and storing it in the global variable of the worker. For first few minutes of refresh on the same edge nodes, data is present.
But after some time, the global variable gets evicted.
So is there any specific time frame or state, after which the instance of the service worker gets decommissioned or it restarts on a specific edge nodes.
Can this situation be avoided if I use any plan other than free?