This is my first bug report at drupal.org, hope to be doing things according to the handbooks :)

When a moderator deletes a comment, tipically spam, from a node, boost keeps serving the cached page. Instead that cached page should be deleted, so a new one can be delivered.

I've modified boost.module to solve this at my test site, patch is attached.

CommentFileSizeAuthor
patch.txt426 bytestorres
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Crimson’s picture

Oh wow. Good patch. I'm trying it out now.

moshe weitzman’s picture

Status: Active » Needs review

makes sense. if someone confirms that it works, i'll commit it.

Crimson’s picture

Status: Needs review » Reviewed & tested by the community

It works wonderfully. :)

Christefano-oldaccount’s picture

I'm using this now, too.

firebus’s picture

i take it back.

Arto’s picture

Title: Boost should expire cached pages for nodes with comments, after one moderator has deleted any comment from those pages » Expire cached page when comment unpublished/deleted
Version: 5.x-1.0 » 6.x-1.x-dev
Component: Code » Expiration logic
Assigned: Unassigned » Arto
Priority: Minor » Normal
Status: Reviewed & tested by the community » Fixed

Muchas gracias, Sergi.

Changeset [148764] commits this for the 5.x branch and changeset [148766] for the 6.x branch.

Arto’s picture

Title: Expire cached page when comment unpublished/deleted » Expire cached page when comment deleted
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.