Difference between revisions of "Pdm webcache"

From SDU
Jump to: navigation, search
(Usage)
(Undo revision 4165 by Agegeleruvy (Talk))
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
[[Category:Commands]]
 +
{{Global Header}}
 +
{{Global Announcement}}
 +
 +
== Overview ==
 
This command is used to clear the web page cache. The system maintains a cache to improve system  
 
This command is used to clear the web page cache. The system maintains a cache to improve system  
  
 
== Usage ==
 
== Usage ==
pdm_webcache [-b] [-H] [-f form] [-g fgroup] [-i interface_type] [-m] [-p webengine_process] [-t timout] [-v] [-h]
+
pdm_webcache [-b] [-H] [-f form] [-g fgroup] [-i interface_type] [-m] [-p webengine_process] [-t timeout] [-v] [-h]
 
<br>
 
<br>
 
{|
 
{|
Line 12: Line 18:
 
| -b
 
| -b
 
| browser cache. Alert users to update browser cache
 
| browser cache. Alert users to update browser cache
|
+
| To undo this command, delete a file called browser_refresh.txt then restart services.
 
|-
 
|-
 
| -H
 
| -H
Line 58: Line 64:
  
 
== Examples ==
 
== Examples ==
pdm_webcache
+
* To clear all web cache for all domservers
 +
pdm_webcache -v
  
pdm_webcache -v
+
* To clear all web cache for all domservers and prompt users to clear browser cache
 +
pdm_webcache -b
  
[[Category:Commands]]
+
* To clear a specific FORM\SCREEN from the cache
 +
pdm_webcache -f detail_cr.htmpl
 +
 
 +
* To clear a specific screen FORM GROUP from the cache
 +
pdm_webcache -g ITIL

Latest revision as of 08:31, 29 November 2010

To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.

Overview

This command is used to clear the web page cache. The system maintains a cache to improve system

Usage

pdm_webcache [-b] [-H] [-f form] [-g fgroup] [-i interface_type] [-m] [-p webengine_process] [-t timeout] [-v] [-h]

Command Description Remarks
-b browser cache. Alert users to update browser cache To undo this command, delete a file called browser_refresh.txt then restart services.
-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 webengine
-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 character. The -H argument is the default if none of the -b, -H, or -m options are specified.

When initiated from a Primary Server, the cache of the Secondary Servers will be cleared as well, assuming -p was not used.

Examples

  • To clear all web cache for all domservers
pdm_webcache -v
  • To clear all web cache for all domservers and prompt users to clear browser cache
pdm_webcache -b
  • To clear a specific FORM\SCREEN from the cache
pdm_webcache -f detail_cr.htmpl
  • To clear a specific screen FORM GROUP from the cache
pdm_webcache -g ITIL