Update cache after writing data I'm writing a custom module to extend the Casetracker module to allow users to update the cases' due date via the comments form. So far I have successfully used hook_form_comment_form() to add the date field to the comment form and hook_comment() to write the new value to the DB using drupal_write_record().

I'm running into a caching problem though. The updated values don't show up in the node until I drush cc all. Is there a way I can tell Drupal to update it's cache to show the new value?

I'm using Drupal 6.26, Casetracker 6.x-1.0-beta9 (part of OpenAtrium).
you can use cache_clear_all() to clear the caches after you write the new value to the database. it will be best if you can find out the comment's cache id and clear only that one. Unfortunately I don't have any D6 databases on my server to look into the database