Tuesday 24 June 2008 4:58:12 am
Hi: I have a problem with de smart cache:
- Catalog (folder, objectID:1)
- kitchen (folder, objectID:2)
- livingroom (folder, objectID:3)
- bathroom (folder, objectID:4)
- Promotions (folder, objectID:5)
- Product 1 (product, objectID:6)
- product 2 (product, objectID:7) - product 3 (product, objectID:7) In the settings/override/viewcache.ini.append.php I have:
[ViewCacheSettings]
SmartCacheClear=enabled
ClearRelationTypes[]
ClearRelationTypes[]=common
ClearRelationTypes[]=reverse_common
ClearRelationTypes[]=reverse_embedded ClearRelationTypes[]=attribute
[product]
DependentClassIdentifier[]
DependentClassIdentifier[]=folder
ClearCacheMethod[]
ClearCacheMethod[]=object
AdditionalObjectIDs[]
AdditionalObjectIDs[]=2
AdditionalObjectIDs[]=3 AdditionalObjectIDs[]=4 The VIEW/FULL of the objects 2,3,4 show the first 3 products of the Promotions. So if I change the products I want to invalidate the cache and rebuilt the view/full of each one of the objects 2,3,4. For this and because i'm smart I used smart cache, but i fell like a donkey because I could manage to make work. can anybody help me?
|