MediaWiki REL1_39
ExpirationAwareness.php
Go to the documentation of this file.
1<?php
25
34 public const TTL_SECOND = 1;
36 public const TTL_MINUTE = 60;
38 public const TTL_HOUR = 3600;
40 public const TTL_DAY = 86400;
42 public const TTL_WEEK = 604800;
44 public const TTL_MONTH = 2592000;
46 public const TTL_YEAR = 31536000;
47
49 public const TTL_PROC_SHORT = 3;
51 public const TTL_PROC_LONG = 30;
52
54 public const TTL_INDEFINITE = 0;
56 public const TTL_UNCACHEABLE = -1;
57}
Generic interface providing Time-To-Live constants for expirable object storage.