[TYPO3-dev] Cache framework

Ingo Renner ingo at typo3.org
Sun Mar 15 16:07:27 CET 2009


Steffen Kamper wrote:

Hi Steffen,

> NULL-backend
> What is the sense of a NULL-backend, a chache that cahce nothing? It
> looks theoretical only to me.

It's of course not very practical in production use, but it's there for

* debugging / development
* completness of the backport

> APC-backend
> the documentation of php APC is very spare, and what i read sounds like
> it's not useful to save big data in it. Anyone with any experience on APC?

I don't know what you're exactly referring to, but if it's a memory 
limitation... the implementation handles that like in the memcached 
backend distributing the data over multiple cache entries.

> cacheFrontends - how are they used, which advantages they have?

* you can stick anything into the variable frontend, the variable 
frontend then serializes your object/array/whatever and hands it over to 
the cache backend
* the string forntend only accepts strings. It can thus save the 
serialize() calls and might be a bit faster.


HTH
Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2





More information about the TYPO3-dev mailing list