[TYPO3-shop] mini-basket cache

Franz Holzinger franz at fholzinger.com
Mon Feb 25 07:59:26 CET 2008


Richard Hirner a écrit :
> On Thu, 21 Feb 2008 18:05:18 +0100, Franz Holzinger wrote:
>> The minibasket always clears the cache. So maybe you did not set the
>> pid_list or the starting point correctly.
> How do I set the pid_list or the starting point? I set PIDstoreRoot to 3 
> because if I don't do this, the shop doesn't work (because of the 
> shortcut from 3 -> 42, see the post before). However I normally don't set 
> pid_list. But I tried now to set pid_list to 4 and it didn't work too. Do 
> I have to set it?

Use the Setup for it.

>> This should be changed to a USER_INT for the basket view and minibasket
>> view in the future. It should be avoided to always clear the cache for
>> the whole page, even for other extensions on this page.
> I don't understand. Is this something I can do or something planned for 
> next tt_products versions? Can I clear the cache only for the minibasket 
> part of the page?

You need knowledge of TypoScript do do this. It seems that the code of
tt_products must make this available. I have already done a similar
thing with tt_board, but do not have enough time to implement this for
tt_products. There has been a discussion on the German mailing list with
JoH about caches.

- Franz




More information about the TYPO3-project-tt-products mailing list