Forums / General / SmartViewCache and removing objects

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.