Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

ICS.isCacheable

Indicates whether the specified page can be cached.

Syntax

Parameters

pagename
Specify the name of the page to check. Specify null to check the current page.

Description

Use the isCacheable method to determine whether a page can be cached. Note that a page can disable its own cache at any time based on errors or other factors.

You can call isCacheable at any time when evaluating pages, though the boolean value it returns may not be the same between calls.

Returns

Returns true if the page can be cached and false if a page cannot be cached. (The page's cacheinfo controls whether it can be cached.)

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.