API Reference
Class
GpoPolicyOnDiskCache
Lightweight, opt-in, file-backed cache for parsed GPO policy artifacts to reduce repeated SYSVOL parsing. Disabled by default; when enabled, caches per-GPO results keyed by source file (mtime + size).
Inheritance
- Object
- GpoPolicyOnDiskCache
Methods
public static Void Configure(Boolean enabled, String directory) #Returns:
VoidEnables or disables the on-disk GPO policy cache and sets the root directory. Callers from other assemblies (e.g., TestimoX) use this to opt-in at runtime.
Parameters
- enabled System.Boolean
- True to enable the cache; false to disable.
- directory System.String
- Optional cache directory. When null or empty, a default under the current working directory is used.