Repository components include the externalCacheBatchInfoSize and externalCacheBatchInfoTimeout properties to control the number of URLs that your Web application monitors for external caching requirements and the frequency that the cached data associated with each URL is refreshed.

externalCacheBatchInfoSize

Set the externalCacheBatchInfoSize property to the approximate number of URLs in your Web application that require externally cached repository data. This is the number of URLs that your Web application will monitor for external caching requirements and use batch mode external caching if needed. The number of independent URLs depends on the nature of your Web application. The externalCacheBatchInfoSize property is set to 1000 by default.

Your Web application maintains a list of URLs for each repository item descriptor in a repository. The externalCacheBatchInfoSize property limits the number of URLs that are recorded for each item descriptor.

If you set the externalCacheBatchInfoSize to a number that is lower than the number of URLs that require a particular repository item descriptor, the most recent URL added to the list will push the oldest URL off the list. Batch mode external caching will continue to function properly but will not improve performance to the extent that it is capable of.

If you set the externalCacheBatchInfoSize to a number that is higher than the number of URLs that require externally cached repository item data, the list of URLs will grow to the size required. Setting externalCacheBatchInfoSize too high will not consume unnecessary resources.

externalCacheBatchInfoTimeout

Set the externalCacheBatchInfoTimeout property to control how frequently your Web application will refresh the list of cached data that is associated with URLs. Set the frequency in milliseconds. The externalCacheBatchInfoTimeout property is set to 600000 (ten minutes) by default.

If your site does not change rapidly during a period of minutes or hours, a reasonable frequency may be from two to 24 hours. If your site is highly dynamic and does change rapidly, increase the frequency. A reasonable frequency for a rapidly changing site may be every ten minutes.


Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices