Here's a patch for memcache-7.x-1.0 to set cache items expire in memcached automatically. This fix is essential to use memcache cache back end with cache_form bin which is not purgeable by cron hooks.

CommentFileSizeAuthor
#1 memcache-7.x-1.0-2022955-a.patch981 bytesilari.stenroth

Comments

ilari.stenroth’s picture

StatusFileSize
new981 bytes
markpavlitski’s picture

Thanks for reporting this issue.

This has already been addressed in the development branch, 7.x-1.x, which is the recommended branch to use for memcache at the moment (we're working hard on a new stable release!)

I would also recommend never using memcache for cache_form, as it isn't strictly speaking a cache table. You can run into problems if entries are expired early by memcached or if the entries are too big (memcached has a 1mb size limit).

markpavlitski’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Category: feature » bug
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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