last_code with memcache