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

Martin Ficzel martin.ficzel at gmx.de
Fri Mar 3 16:51:19 CET 2006


Allan Jacobsen schrieb:
> 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.

good point. thats not the best point for optimizing

another suggestion

the extension is providing some information as xml pages.
these types are called from a flashfile with url's like this

> index.php?id=2&type=341&feature=get_objects&level=1

the result of this request nearly stays the same so it could be cached 
without problems (there are only a limited number of levels available)

onother request for the same pagetype

> index.php?id=2&type=341&feature=get_active&level=1&signature=foobar

will perform a search operation and cannot be cached.

question: how can i manage to cache the first request but not the 
second. i cannot use chash since the url's are build within flash an not 
with the typolink function.

regards Martin







More information about the TYPO3-dev mailing list