[Typo3-dev] Plugin needs to be cached but sometimes not

Michael Stucki michael at typo3.org
Mon Dec 6 16:10:37 CET 2004


Hello Peter,

late answer, needed to finish this first :-)

> You probably need some checksum like christoph suggested at first?
> 
> a) adding a second pi2 as a USER_INT that does nothing but comparing
> current checksum with old one and then setting -> no_cache or not.
> 
> Of course you need two calls on the page then until it is
> cached/indexed.(assuming the checksum didn't change in beetween) :-<
> 
> Fairly quick and simple and most likely does the job.

Yeah! That was exactly what I was looking for! Works fine and I will see how
I can merge the changes back into the original extension.

> b)
> The wholy book by the gurus has some suggestions on cHash and USER_INT
> on page 527ff. so you could possibly make it a USER_INT and add a
> cHash_parameter yourself?
> This is supposed to be used for different "versions" of a page but maybe
> provides a solution for you as well?

Didn't check this, I'm fine with the first solution :-)

Regards, michael
-- 
Want support? Please read the list rules first: http://typo3.org/1438.0.html




More information about the TYPO3-dev mailing list