I'm trying to poplulate a directory on my servers using the File resource type, as follows:
This works –but the performance is extremely poor, in that the client spends an inordinate amount of time 'building file list without using cache'.
Anyone know how to make the client use a cache, or to otherwise speed up this process?
Or maybe they've fixed this in WMF5?
Hard to say; the File resource is the only one written in native code, so we can't really see what's going on there.
I can tell you that the DSC cache folder is also automatically cleared every time a new version of the configuration is applied with Start-DscConfiguration, or when a new version is downloaded from the pull server. So the cache only really helps when the system is being checked for drift from an existing configuration.
Thanks for the reply. I've removed this from my configuration for now.
You must be logged in to reply to this topic.