Parent Directory
|
Revision Log
|
Revision Graph
add result cache to repository -a
| 1 | RESULTCACHE MODULE |
| 2 | |
| 3 | The result cache speeds up slow operations by storing function results in a |
| 4 | cache table and later, on page execution time, pulling these results from the |
| 5 | cache table rather than calculating it. |
| 6 | |
| 7 | Usage: |
| 8 | |
| 9 | Where you before called: |
| 10 | |
| 11 | $output = myfunc('do', |
| 12 | 'something', |
| 13 | array('really' => 'slow' |
| 14 | ); |
| 15 | |
| 16 | call now: |
| 17 | |
| 18 | $output = resultcache_getresult('myfunc', |
| 19 | 'do', |
| 20 | 'something', |
| 21 | array('really' => 'slow' |
| 22 | ); |
| 23 | |
| 24 | alex [ at ] developmentseed [ dot ] org |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |