phpBB

Development Wiki

Cache

From phpBB Development Wiki

Revision as of 15:09, 5 June 2009 by Toonarmy (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Cache Layer

Modules

  • File
  • XCache (3.0.6 +)
  • APC (3.0.6 +)
  • eAccelerator (3.0.6 +)
  • Memcache (3.0.6 +)

File

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

Where:

  • 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; ?>
(expiration)
(query)
(bytes)
(data)


Normal data:

<?php exit; ?>
(expiration)
(bytes)
(data)


Global data:

<?php exit; ?>
(expiration)
(bytes)
(var)
(data)
(expiration-n)
(bytes-n)
(var-n)
(data-n)
...