Grouper: RSS manager, XML converter, website scraper
Web This Site

Grouper - Documentation


Getting Started: Free Download | Purchase | Install
Reference: Functions | Plugins | Themes
Etc.: Configure | Affiliates

Function Reference

GrouperClearCache(stale = 0);

Deletes all of the files in Grouper's cache directory, or, if "stale" is set to something other than zero, all files which have not been updated for the specified number of days.

stale: The number of days old that a cache file must be to get deleted. If omitted or set to zero, all files are deleted.



Example: (delete all cache files more than 3 1/2 days old)

<?php
require_once '/YOUR/PATH/TO/grouper/grouper.php';
GrouperClearCache(3.5);
?>