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
 nullto check the current page.
Description
Use the
isCacheablemethod 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
isCacheableat any time when evaluating pages, though the boolean value it returns may not be the same between calls.Returns
Returns
trueifthe page can be cached andfalseif a page cannot be cached. (The page'scacheinfocontrols whether it can be cached.)
Home > Contents > Index > ![]()
FatWire JAVA Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.