When the boost module is enabled on my site I get the drupal system message cached. For example:

# Login successful.
# Your invitation has been successfully sent. You will be notified when the invitee joins the site.

This list gets longer with each new message. Is there something I can do to stop this from happening. I disabled the Boost module and the problem went away but I like the performance I get on my site with the module. Thanks

Comments

mikeytown2’s picture

These are only appearing when your logged in correct? What, if any opt-code cache are you using?

darrellhq’s picture

That is correct.. it will only appear if logged in. I am not familiar with the opt-code cache.

mikeytown2’s picture

What theme are you using? In short what your describing shouldn't be happening, so there is something different about your drupal install; my guess is the theme since this fucntion is supposed to clear out the drupal messages
http://api.drupal.org/api/function/theme_status_messages/6

As for why it only happens when boost is installed is very strange; my only guess is the fact that hook_exit calls drupal_set_message; but this code only runs if your logged out.

    // Check that we're dealing with an anonymous visitor. and that some
    // session messages have actually been set during this page request:
    global $user;
    if (empty($user->uid) && ($messages = drupal_set_message())) {

opcode cache is a php accelerator; my guess is your $_SESSION['messages'] variable is not being unset because the theme your using didn't properly implement theme_status_messages()
http://en.wikipedia.org/wiki/List_of_PHP_accelerators

mikeytown2’s picture

Status: Active » Postponed (maintainer needs more info)
bgm’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing old support request with no activity in a long time.