The SaveToCache method saves in memory the pipeline configuration used by the specified pipeline, and returns a unique token that can be used later by the LoadFromCache method to retrieve the cached configuration.
ConfigurationCacheHelper.SaveToCache(Pipeline)
This example assumes that the following actions have occurred.
cacheHelper
has been defined. pipeline
has been defined.Given these assumptions, the following script saves the pipeline configuration used by the pipeline into cache memory. It also saves a token for later retrieval of the configuration into the application variable PlanCache:
Application("PlanCache") = cacheHelper.SaveToCache(pipeline)