[TYPO3-dev] t3lib_cache
Daniel Bruessler
info at -remove-patchworking.de
Thu Jan 17 13:12:43 CET 2008
Hello Steffen,
yes, sorry :-)
So what's with these new functions:
setCacheReg($value, $key='reg1')
clearCacheByPage ($uid)
clearCacheByReg ($value, $key='reg1', $pid=0)
annotation: if $pid=0 the function clearCacheByReg this reg-value is
cleared for any page.
So for the moment it's just possible to have "reg1" or "reg2" as value
(is there really a reg2? In the API I just found class-var
"page_cache_reg1")
HTH
Daniel
> Hi Daniel,
>
> "Daniel Bruessler" <info at -remove-patchworking.de> schrieb im Newsbeitrag
> news:mailman.1.1200570579.17367.typo3-dev at lists.netfielders.de...
>> Hello Steffen and Ernesto,
>>
>> yes that caching-lib is a really good thing. Caching by pid is not enough,
>> we all know it ;-)
>>
>> What's about an additional cache-table for reg? So it's not only reg1 and
>> reg2, there can be more. When one of the table-attributes is a type-field
>> then such a register can be integer or float or xs:ID or something.
>>
>
> using varchar there are possible prefix, so there is also the possibility to
> match with this prefix.
>
>> It could be handled by ext_conf_template.txt, because the ext-author know
>> best what CGI-var-combination should be cached - and so it can be changed
>> by an admin easily.
>>
>
> this is additional logic which should be done in a next step, according to
> the USER / USER_INT-concept of extensions.
> First i would start with a general API. But we can keep this in mind.
>
> vg Steffen
>
>
More information about the TYPO3-dev
mailing list