File: cache_parameters.inc

package info (click to toggle)
boinc 5.4.11-4%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 21,440 kB
  • ctags: 16,986
  • sloc: cpp: 70,682; ansic: 45,747; php: 35,513; xml: 10,487; sh: 9,324; python: 4,291; makefile: 1,958; asm: 1,258; perl: 914; sql: 395; csh: 126; pascal: 124
file content (21 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

// Define the lifetime of public php pages.
// define to zero to turn of caching for these pages.
define('TEAM_PAGE_TTL',3600);
define('USER_PAGE_TTL',3600);
define('USER_HOST_TTL',3600);
define('USER_PROFILE_TTL',3600);
define('TOP_PAGES_TTL',43200);
define('DOWNLOAD_PAGE_TTL',3600);
define('INDEX_PAGE_TTL',3600);

// 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);

?>