Home > Contents > Index >
CS.CacheFile
Gets the file name associated with a cached pagename and its parameters.
Syntax
CS.CacheFile [PAGENAME],[PARAM1=VAL1,PARAM2=VAL2...]Parameters
PAGENAME (optional)
- The full pagename including parameters.
PARAM1=VAL1,PARAM2=VAL2,... (optional)
- Name/Value pairs. Use an "=" to associate a name with a certain value. Use, "&" to separate multiple name/value pairs.
Description
The
CS.CacheFile
built-in gets the file name associated with a cached pagename and its parameters.When caching is enabled, Sites derives a cached page file name based on the incoming SiteCatalog entry for pagename and other relevant incoming environment information that a user must define.
You can specify such information on a URL. For example:
http://localhost/????webapppath???(xyz)/ContentServer?pagename=somepage?someparam=somevalueor
http://localhost/????webapppath???(xyz) ContentServer?pagename=somepage? someparam=somevalue&someparam2=somevalue2> &someparam2=somevalue2The value
someval
is a parameter passed to the root element ofsomepage
. If any of the variables listed are empty, Sites ignores them.Example
The following examples display the location and file names of two pages that are cached on disk. The first example shows you how to specify the tag parameters when there are no page arguments defined. The second example shows how you define the tag parameters where there are page arguments. Notice that in example 2 the ampersand (&) character is with it's decimal representation, '&'.
Example 1.
<CSVAR NAME="CS.CacheFileName.OpenMarket.Samples.NewPortal.XML. mainheadlines/>Example 2.
<CSVARNAME="CS.CacheFileName.OpenMarket.Samples.NewPortal.XML.NewsBrick1,category=s&title=Sports"/>
Home > Contents > Index > Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.