MediaWiki 1.43.1
ExpirationAwareness.php
Go to the documentation of this file.
1<?php
22
31 public const TTL_SECOND = 1;
33 public const TTL_MINUTE = 60;
35 public const TTL_HOUR = 3_600;
37 public const TTL_DAY = 86_400;
39 public const TTL_WEEK = 604_800;
41 public const TTL_MONTH = 2_592_000;
43 public const TTL_YEAR = 31_536_000;
44
46 public const TTL_PROC_SHORT = 3;
48 public const TTL_PROC_LONG = 30;
49
51 public const TTL_INDEFINITE = 0;
53 public const TTL_UNCACHEABLE = -1;
54}
Generic interface providing Time-To-Live constants for expirable object storage.