MediaWiki REL1_37
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; // 24 * 3600
42 public const TTL_WEEK = 604800; // 7 * 24 * 3600
44 public const TTL_MONTH = 2592000; // 30 * 24 * 3600
46 public const TTL_YEAR = 31536000; // 365 * 24 * 3600
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.