Clearing the Server Cache for Load-Balanced Servers

Clearing the Server Cache

Both load balanced and stand-alone Civic Platform servers can automatically clear the server cache when administrators make changes to system configuration data, such as Standard Choices.

Stand-alone Civic Platform servers do not need any system configuration.

For load balanced Civic Platform servers, administrators must configure av.clearcache.url in every ServerConfig.properties file to enable this feature.

av.clearcache.url=URL1,URL2,URL3,URL4,URL5…URL(n)

In the configuration line:

  • Each URL(n) is one of the values below (note each value must end with the equal sign):

    $av.biz.url$/av-biz-ws/services/clearCache/cacheName= 
    $av.web.url$/portlets/clearCache?cacheName= 
    $av.cfmx.url$/clearCache.jsp?cacheName= 
  • The $av.biz.url$, $av.web.url$, or $av.cfmx.url$ in each URL(n) refers to the URL of a server that associates with the current server having the ServerConfig.properties file. Please refer to the table below for the scope of $av.biz.url$, $av.web.url$, or $av.cfmx.url$ for each server type.

Table 1. URLs in ServerConfig.properties
Server Type ServerConfig.properties Location Scope of $av.biz.url$, $av.web.url$ or $av.cfmx.url$ in URL(n)
Application Server $installdir$\av.biz\conf\av The URLs of the web servers and the ColdFusion MX web servers that work with the current application server, and all the other application servers.
Web Server $installdir$\av.web\conf\av The URLs of the application servers and the ColdFusion MX web servers that work with the current web server, and all the other web servers.
ColdFusion MX Web Server $installdir$\av.cfmx\conf\av The URLs of the application servers and the web servers that work with the current ColdFusion MX web server, and all the other ColdFusion MX web servers.