SetCacheFileName('test!!.html'); $aCache->SetCacheDirectory('cache'); $aCache->SetCacheMaxAgeInMins(1); print 'Does Cache Exist?: ' . $aCache->DoesCacheAlreadyExist() . '
'; if (($aCache->IsCacheTooOld()) || (!$aCache->DoesCacheAlreadyExist())) { print 'Cache Too Old/Doesn\'t exist:
'; print 'Saving To Cache: ' . $aCache->AddToCache(rand()) . '
'; } print 'Cache Content: ' . $aCache->RetrieveFromCache() . '
'; ?>