Expected Memcache Behavior?

Events happening in the community are now at Drupal community events on www.drupal.org.
scottatdrake's picture

Hi, all.

I know a few of you here have experience with memcache. Wondering if you can help me out.

  1. User creates or edits content. Does not see it appear on the home page.*
  2. Logout. DOES show up.
  3. Log in again. Content still does not show up for authenticated user.
  4. Clear cache manually. Content finally shows up for authenticated user.

Is this expected? Does memcache normally get flushed along with the built-in drupal cache?

*The home page, in this case, is a view that displays a single 'home page' content type node (filtered/sorted by date) which contains many noderefs to articles.

Comments

This is probably related to

jason ruyle's picture

This is probably related to memcache, but I should ask. Is your browser caching pages as well? In firefox, I often have cache disabled using the webmaster tool add-on.

Saying that, we often will experience things like this and I generally tell persons doing content editing and content creation that we cache sites and so they should understand that content doesn't always get updated instantly. Although usually its the opposite, anonymous users not seeing updates.

Do you have any other caching going on? Are you using memcache module or cacherouter?

Michael Hofmockel's picture

Shot in the dark

I learned my first lesson about memcache when try to put more than one site on mercury. If you don't prefix the memcache in the setting.php file you will get cross site pollution through memcache. Basically, if you don't prefix, you allow your two sites to share the same cache system. That's why clearing cache fixes the problem.

Not sure if this is your problem but it is ringing little bells in my head.

Regards,
Michael Hofmockel

Open Source || Open Access || Open Mind

Central Iowa Drupal Users Group

Group categories

Category

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: