Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
satellite:flush
Flushes individual items from the cache.
Syntax
<satellite:flush> [<satellite:server name="servername"
username="username
" password="password
"/>] <satellite:flush>Parameters
name
(required)
- The name of the CS-Satellite whose cache you want to flush.
username
(required)
- The user name to log in to the specified CS-Satellite.
password
(required)
- The password to log in to the specified CS-Satellite.
Note
To avoid a JSP compile error, be sure that this parameter value is on one line (no line breaks or carriage returns).
Description
The
satellite:flush
tag flushes all the contents of one or more CS-Satellite caches. To flush individual components from the cache, use the CacheManger API. The CacheManager API provides a flush mechanism to Content Server and CS-Satellite.Examples
The following example flushes a page and two pagelets from the
holbein
,vaneyck
, andvermeer
servers :<satellite:flush> <satellite:server name="http://holbein:80" username="ftuser" password="ftuser"/> <satellite:server name="http://vaneyck:80" username="ftuser" password="ftuser"/> <satellite:server name="http://vermeer:80" username="ftuser" password="ftuser"/> <satellite:pages pagetags="%3cpage pagename=%22xml/main%22/ page%3e%3cpage pagename=%22xml/pagelet1%22/page%3e%3cpage pagename=%22xml/pagelet2%22/page%3e"/> </satellite:flush>The following example flushes a containing page and a blob from the
holbein
server. The page was accessed using the following URL:http://holbein:80/servlet/Satellite/?pagename=xml/main&name=thomasmoreBecause the
name
argument was passed to the page, the code to flush the page from the cache contains the value of thename
argument:<satellite:flush> <satellite:server name="http://holbein:80" username="ftuser" password="ftuser"/> <satellite:pages pagetags="%3cpage pagename=%22xml/main%22name=%22thomasmore
/page%3e%3cblob service=%22
image src%22blobtable=%22SmokeImage%22 blobwhere=%228765%22blobheader=%22image/gif%22
blobcol=%22urlpicture%22blobkey=%22id%22/blob%3e"/> </satellite:flush>
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.