The expire framework allows for pages to be selectively expired from the cache. For forums this means that you would want parent items to be cleared when a post is posted or updated.

This is better than the internal Drupal approach which clears the whole page cache on a post.

I have written a patch for this as a stand alone module but I think it would be better to be part of the advanced forums module as if expire is not installed the hook will have no effect.

Patch incoming.

CommentFileSizeAuthor
#1 2093989.patch2.34 KBJeremyFrench
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JeremyFrench’s picture

Status: Active » Needs review
FileSize
2.34 KB

Patch attached.

podarok’s picture

Issue summary: View changes
Status: Needs review » Postponed (maintainer needs more info)
Issue tags: +undefined

Can You provide steps for testing or some tests with and without patch?