ProCacheTests::urlCacheTest() method
Test URL for non-cached vs. cached performance
Returns verbose array of timer data
Usage
// basic usage
$array = $tests->urlCacheTest(string $url);
// usage with all arguments
$array = $tests->urlCacheTest(string $url, int $testNum = 1);Arguments
| Name | Type(s) | Description |
|---|---|---|
$url | string | URL to test |
$testNum (optional) | int | Iteration number, if running multiple times Default:1 |
Return value
arrayReturns verbose associative array with results of timers and test data
API reference based on ProcessWire core version 3.0.252