Changeset View
Changeset View
Standalone View
Standalone View
src/applications/cache/PhabricatorCaches.php
| <?php | <?php | ||||
| /** | /** | ||||
| * @task setup Setup Cache | * @task setup Setup Cache | ||||
| */ | */ | ||||
| final class PhabricatorCaches { | final class PhabricatorCaches { | ||||
| /* -( Setup Cache )-------------------------------------------------------- */ | /* -( Setup Cache )-------------------------------------------------------- */ | ||||
| /** | /** | ||||
| * Highly specialized cache for performing setup checks. We use this cache | * Highly specialized cache for performing setup checks. We use this cache | ||||
| * to determine if we need to run expensive setup checks (e.g., verifying | * to determine if we need to run expensive setup checks when the page | ||||
| * submodule versions, PATH, the presence of binaries, etc.) when the page | |||||
| * loads. Without it, we would need to run these checks every time. | * loads. Without it, we would need to run these checks every time. | ||||
| * | * | ||||
| * Normally, this cache is just APC. In the absence of APC, this cache | * Normally, this cache is just APC. In the absence of APC, this cache | ||||
| * degrades into a slow, quirky on-disk cache. | * degrades into a slow, quirky on-disk cache. | ||||
| * | * | ||||
| * NOTE: Do not use this cache for anything else! It is not a general-purpose | * NOTE: Do not use this cache for anything else! It is not a general-purpose | ||||
| * cache! | * cache! | ||||
| * | * | ||||
| ▲ Show 20 Lines • Show All 149 Lines • Show Last 20 Lines | |||||