[TYPO3-dev] use cache for internal data of a custom extension

Allan Jacobsen allan.jacobsen at tips.dk
Fri Mar 3 15:37:55 CET 2006


Hi Martin

I don't know if you are aware of this, but mysql has internal caching of query results, so you might not find any speed improvement, if your queries are run very often.


Best regards/MVH
Allan Jacobsen
Infrastruktur, Dansk Tipstjeneste A/S
Korsdalsvej 135, 2605 Brøndby

-----Oprindelig meddelelse-----
Fra: typo3-dev-bounces at lists.netfielders.de [mailto:typo3-dev-bounces at lists.netfielders.de] På vegne af Martin Ficzel
Sendt: 3. marts 2006 15:12
Til: typo3-dev at lists.netfielders.de
Emne: [TYPO3-dev] use cache for internal data of a custom extension

i want to cache the result of some very often used and complex
sql-querys of my extension in the cache.

the content will be a serialized multidimensional array (700 items).

is there a way to use the internal typo3 caching functions or do i have
to write my own function and store the cache in a custom table.

in tslib_fe i found a function setPageCacheContent() but i don't see how
to store custom data in this array. especially i have to control the
creation of the hash value because the type and id params are not
important but others are.

does anyone have a hint or an example/documentation for me.

thanks, Martin
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev




More information about the TYPO3-dev mailing list