I noticed a similar topic posted on this, "Flush Page's Cache on New Comments" (http://drupal.org/node/609900), but it was posted as fixed so I was unsure whether to reply or start a new topic. Obviously, I went with a new topic :). If this is incorrect protocol please let me know.

I'm experiencing the same problem as described @ http://drupal.org/node/609900

I've examined the comment hook and verified that it is in Boost, however, it never seems to actually function. I've tested this several times and can recreate it in an easy manner.

- While logged in to an admin account go to a node, in my case it's a story, and verify that Boost has cached the page. "This page is being served to anonymous visitors from the static page cache. The cached copy will expire in 18 min 3 sec."
- View the same page, in a different browser, as an anonymous user. You will received the cached copy.
- Post a comment to the story with your authenticated/admin user.
- a). The cache expiration time stays the same b). Viewing the same page anonymously gives the old, stale copy without the comment.

If the page is manually flushed or expires then the new comment, etc., is displayed fine. From looking at the module code this should be flushed the second the comment array is updated for the node.

Could this have something to do with module weighting? I've tinkered around and haven't much luck. Any help would be appreciated.

Thanks for all of the work on this absolutely AWESOME module!

CommentFileSizeAuthor
#1 boost-617476.patch3.6 KBmikeytown2
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeytown2’s picture

FileSize
3.6 KB

You did the right thing by opening up a new issue; I got a fairly good system down for managing the issue queue.

hmmm... makes me think that the node_load is not working correctly, I've had that happen before in various hook functions. Try this patch out, should make this module have a better API either way.

mikeytown2’s picture

Status: Active » Needs review
mikeytown2’s picture

Category: support » bug
mikeytown2’s picture

Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

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