The block 'new forum topics' is not working as expected for me for my drupal 7.7 site..when i create new forum posts those are not shown in the block 'new forum topic'.But after some hours it shows the posts.And the deleted posts are also shown on the block.I have the the same problem for the previous releases of drupal 7 also.
to reproduce it
1.install a fresh copy of Drupal 7.7
2.enable forum module
3.enable the block 'new forum topics'
4.create some containers and forums (optional) or make some posts under 'General discussion'
check whether the block 'new forum topics' shows these posts..
Comments
Comment #1
marcingy commentedThis is because the block is cached, and is not cleared until a cache clear occurs and the way it works is by design. You could create a custom module that on node insert clears the appropriate cache key.
Comment #2
popzkg commentedthanks marcingy..
Comment #2.0
popzkg commenteda small change
Comment #3
David_Rothstein commentedI don't see how this is by design - the Forum module should be caching this in a way so that the cache is invalidated automatically when a new forum post is created.