Configuring the Web Central Search Directories

System integrators and enterprise IT staff can customize the search directories in afm-config.xml that Web Central uses to find views and web resource files.

How to change search directories

When you change the list of search directories for any file category in afm-config.xml, you need to restart Web Central in order for the new list to be used. In addition, when you change search directories for web resource files (CSS, JavaScript, or image file types), you need to delete the schema-compiled folder. This is required because Web Central adds web resource references into compiled views stored in the schema-compiled folder and does not change the compiled views unless the original AXVW files also change.

How search directories are used

When searching for a file, Web Central makes two passes over the search directory list:

Pass 1:

Pass 2:

If the file is still not found:

(This pass is much slower than the first.)

How to optimize search directories

The number and order of search directories directly affects Web Central performance and scalability. Following rules are recommended: