Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ICS.isCacheable
Indicates whether the specified page can be cached.
Syntax
public boolean isCacheable(String pagename)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 andfalse
if a page cannot be cached. (The page'scacheinfo
controls whether it can be cached.)
Home > Contents > Index > FatWire JAVA Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.