The Garbage Collection Library contains the necessary functionality to keep the cache mechanism in check.
The Garbage Collection library is loaded just like any other CodeIgniter library.
$gc = new \DebugToolbar\Toolbar\GarbageCollection; $gc->run();
Below are the available methods to you.
expired($file)
Determines whether a given $file is past the $expires property
$file
$expires
delete($file)
Deletes the given $file
run()
Executes the cache mechanism
There was an error while loading. Please reload this page.