/[drupal]/contributions/modules/resultcache/README.txt
ViewVC logotype

Contents of /contributions/modules/resultcache/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Dec 15 22:46:15 2006 UTC (2 years, 11 months ago) by alexb
Branch: MAIN
CVS Tags: DRUPAL-5--1-0, HEAD
Branch point for: DRUPAL-5, DRUPAL-4-7
File MIME type: text/plain
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