I have a need to update some data on a page dynamically. I was originally using jobs to update about 15K objects of data to cache, but that takes about 10-12 minutes to run. Now I am thinking it would make more sense to just update the data for the page that is being displayed as that is only updating a single object.
Is it possible to restrict the New-UDEndpoint to a single page and then stop that endpoint when the user browses away from the page? This way the data that I need to be refreshed every 30 seconds or so will be and the larger amount of data can be pulled from cache as needed, as it does not need to be near as up to date.
Product: PowerShell Universal Version: 4.1.7