Improved memcached module
Igor Sysoev
is at rambler-co.ru
Fri Aug 21 14:57:56 MSD 2009
On Fri, Aug 21, 2009 at 02:21:31PM +0400, Maxim Dounin wrote:
> > > 1. It relies on 'HTTP/' prefix on to find out if key in question
> > > has headers. This is bad, as there is no way to return text
> > > starting from this string. IMHO it should be changed to use flags
> > > instead.
> >
> > I agree, it should use a flag and the flag should not conflict with two
> > perl Cache-Memcached module's flags:
> > F_STORABLE 0x0001
> > F_COMPRESS 0x0002
>
> There are a lot more flags for memcached out there as used by
> various clients (see http://www.hjp.at/zettel/m/memcached_flags.rxml),
> so it probably should be configurable instead.
Thank you for reference. I think we can use 7th bit (0x80) as default.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list