Development Wiki


From phpBB Development Wiki

Revision as of 23:42, 5 June 2009 by Toonarmy (Talk | contribs)

The cache system provides an API for caching frequently used data, it provides an interface for user code to cache data and an interface for the DBAL to cache query results.


Module Description Version File
File Utilises disk drive for data storage >= 2.1 includes/acm/acm_file.php
XCache [1] Storage of data in shared memory >= 3.0.6 includes/acm/acm_xcache.php
APC [2] Storage of data in shared memory >= 3.0.6 includes/acm/acm_apc.php
eAccelerator [3] Storage of data in shared memory >= 3.0.6 includes/acm/acm_eaccelerator.php
Memcache [4] Uses a memcached instance to store data >= 3.0.6 includes/acm/acm_memcache.php


As of 3.0.6-dev the file cache module uses a new improved format for its cache files.


  • expiration := expiration timestamp
  • query := SQL query
  • bytes := number of bytes in data (except global data includes the length of var)
  • var := Variable name
  • data := Cached data

SQL queries:

<?php exit; ?>

Normal data:

<?php exit; ?>

Global data:

<?php exit; ?>

This article is a stub. You can help in improving Olympus Documentation by expanding it.