[TYPO3-shop] tt_products & Typo3 caching

Franz Holzinger franz at fholzinger.com
Wed Feb 6 11:09:57 CET 2008


Richard Hirner a écrit :

> OK, so rendering the shop page takes a little time. But what about 
> Caching? I have enabled (better: not disabled) caching for the shop but 
> every load of the shop page takes relatively long, compared to the other 
> sites.
> 
> Does tt_products use the Typo3 cache? Is there anything I can do to 
> improve the loading speed? 

Yes, the cache is beeing used. However the cache of the whole page must
be cleard if a customer puts an item into the basket. This is because
the number of items is now shown on the list view. Therefore it is not
possible to cache it any more.
It could be tried to find a way to use a USER_INT for the basket amount
and make a special plugin for it.
But how can a USER_INT be inside of a USER? The list view must be a USER
object to use the cache. But there will be several basket amounts on a
page which should be cached. IMHO it is not possible to nest it.

A solution is available for the minibasket. A basket plugin should be
made and a USER_INT for the minibasket and all basket plugins.

Another solution to case 1 would be not to use the amount on a list view
and a single view. Then the cache would be cleared only on basket pages.

Regards,

Franz




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