Enable directory cache to speed up login times.

Enable directory cache to speed up login times.

To help speed up things webNetwork has a feature called Directory Cache.  This is turned on in the 8090 console loader under Directory Services.

Typically create a c:\stoneware\config\dircache and then set the cache dir to this path, and set the timeout to about 20 min, longer if you don't make many changes to users accounts.

Set the amount of RAM to allocate to store this info in memory.  Typically 20 meg will be sufficient.

Save those and shut down and restart.

To debug this, on the webNetwork server go to the logging tab and check the Authenticate box.  Click Launch to launch the log viewer.  Now have a user login it will search for the user, and once found and authenticated we will display a X ms to complete message. This x ms number is the time from when we ask AD for the user/authenticate and get the response back from the directory.

After you use Directory Cache for a few days go to the directory cache folder in the \stoneware\config folder and view the size of the directory cache folder.  Adjust the Ram setting to this size to match.