2011-11-16, 05:26:38
chrisbloom7 Wrote:I noticed that the 3.1 beta includes an event trigger named "changedata-aftersave" which is triggered after the "changedata-save" trigger and subsequent page save. Could you also add one named "page-afterdelete" to be fired after a page has been deleted? I hacked up my own copy of 3.0 to add this event as I needed to update some cached navigation files whenever pages were modified, but it had to happen after all of the changes were saved to disk.
You might try another approach: delete the cache and only recreate it when needed (when you want to display the navigation for the first time). This is how I18N and I18N Search work.