2004-07-22 23:42:50 +00:00
|
|
|
<?php
|
|
|
|
|
2004-07-23 04:04:21 +00:00
|
|
|
// Define the lifetime of public php pages.
|
|
|
|
// define to zero to turn of caching for these pages.
|
2004-07-22 23:42:50 +00:00
|
|
|
define('TEAM_PAGE_TTL',3600);
|
|
|
|
define('USER_PAGE_TTL',3600);
|
2004-07-23 04:04:21 +00:00
|
|
|
define('USER_HOST_TTL',3600);
|
2004-07-22 23:42:50 +00:00
|
|
|
define('USER_PROFILE_TTL',3600);
|
|
|
|
define('TOP_PAGES_TTL',43200);
|
|
|
|
define('DOWNLOAD_PAGE_TTL',3600);
|
|
|
|
define('INDEX_PAGE_TTL',3600);
|
|
|
|
|
2004-07-23 04:04:21 +00:00
|
|
|
// Define the max allowed cache usage and the min allowed free space
|
|
|
|
// Both default to 100M.
|
|
|
|
define('MAX_CACHE_USAGE',104857600);
|
|
|
|
define('MIN_FREE_SPACE',104857600);
|
|
|
|
|
|
|
|
// Number of page views between cache size checks
|
|
|
|
define('CACHE_SIZE_CHECK_FREQ',1000);
|
|
|
|
|
2004-07-22 23:42:50 +00:00
|
|
|
?>
|