Forums / General / SmartViewCache and removing objects

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

SmartViewCache and removing objects

Author Message

Mike Melli

Sunday 26 July 2009 3:48:48 pm

Hello -

I have a simple SmartViewCache rule for clearing my site's home page when a new comment is posted:

[ViewCacheSettings]
SmartCacheClear=enabled

[comment]
AdditionalObjectIDs[]
AdditionalObjectIDs[]=248

This seems to work fine when publishing an object, however when I remove a comment via the admin siteaccess, the home object is not cleared. Shouldn't removing an object trigger the same cache rules as publishing?

Anything I can do to remedy this?

Mike Melli

Sunday 26 July 2009 3:54:57 pm

Nevermind.

Stupid mistake. Had my viewcache.ini.append.php in the front-end siteaccess. That's what I get for working on Sundays.