Difference between revisions of "Pdm webcache"

From SDU
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Commands]]
 
[[Category:Commands]]
 +
pdm_webcache [-b] [-H]
 +
[-f form] [-g fgroup] [-i interface_type] [-m] [-p webengine_process] [-t timout] [-v] [-h]
 +
-b browser cache. Alert users to update browser cache
 +
-H htmpl cache. Clear webengine HTMPL cache
 +
-f Form name. Default is all forms.
 +
-g Form group. Default is all form groups
 +
-i Interface type. Default is all interface types
 +
-m macro cache. Clear webengine macro cache
 +
-p Process name of webengine to update. Default is all webengines
 +
-t Time out in seconds. Default is 30 seconds.
 +
-v Verbose (list all forms deleted from cache)
 +
-h help
 +
 +
The -f, -g, and -i arguments may contain '*' as a wildcard charater.
 +
The -H argument is the default if none of the -b, -H, or -m options are specified.
 +
 
'''pdm_webcache''' is used to initiate a clearing of the web page cache. Service Desk caches webpages to provide a quicker response time.  
 
'''pdm_webcache''' is used to initiate a clearing of the web page cache. Service Desk caches webpages to provide a quicker response time.  
  

Revision as of 21:34, 14 January 2008

pdm_webcache [-b] [-H] [-f form] [-g fgroup] [-i interface_type] [-m] [-p webengine_process] [-t timout] [-v] [-h] -b browser cache. Alert users to update browser cache -H htmpl cache. Clear webengine HTMPL cache -f Form name. Default is all forms. -g Form group. Default is all form groups -i Interface type. Default is all interface types -m macro cache. Clear webengine macro cache -p Process name of webengine to update. Default is all webengines -t Time out in seconds. Default is 30 seconds. -v Verbose (list all forms deleted from cache) -h help

The -f, -g, and -i arguments may contain '*' as a wildcard charater. The -H argument is the default if none of the -b, -H, or -m options are specified.

pdm_webcache is used to initiate a clearing of the web page cache. Service Desk caches webpages to provide a quicker response time.

The most common use of this command is without any arguments. Simply run pdm_webache -v from a command line. In environments with Secondary Servers, running the command from the Primary Server will clear the cache on all Secondary Servers.

Be careful is executing pdm_webcache -b as this can annoy your users. When using the -b argument, the users will be prompted to clear their browser cache every time they access Service Desk for a 24 hour period. This can be very useful for changes to items that get cached on the client-side, such as javascripts. However, it can be very annoying to users to frequently access Service Desk. In addition, after the 24 hours no additional messages will be generated so users who did not login during this window will not get the prompt. While the concept of the -b argument is good, it's usually not a practical option.