Manual:Hooks/IsFileCacheable

Details

 * $article - The article object.

Return value


 * true if cacheable
 * false if not cacheable

The hook isFileCacheable is not the sole determinant of whether a particular wiki page is cacheable or not. Whatever hook function you write is AND'ed with other boolean tests to determine cacheable status.

See also Manual:File cache.