[Typo3-dev] extensions and caching

Christian Jul Jensen christian at jul.net
Wed Dec 15 10:36:19 CET 2004


Rupert Germann <rupi at gmx.li> writes:

> hi zach,
> 
> Zach Davis wrote:
> > Whenever I make a typical extension (the kind that lists and displays
> > records) I end up having to set no cache to true in order for the
> > extension to work. Can someone point me towards documentation or an
> > example of how to code extensions in such a way that they're more cache
> > friendly? Any tips here would be much appreciated :)
> 
> maybe helpful:
> take a look at the extension make_printlink.
> it has a mechanism to switch between USER and USER_INT mode by TS.

If I understand you right, what you want to do is to cache different
views of the plugin, that is based on more options than id and type,
as TYPO3 usually does.

The answer is called chash, and it is a parameter that is added to the
url made up by a hash of the other parameters.

I only looked briefly through the scripts, but it seems to me that all
that you have to do is set the cache-parameter of the link-functions
in pibase, and make sure your plugin is not USER_INT.

Sorry if this was not what you we're asking.

--
-julle




More information about the TYPO3-dev mailing list