memc_flags_to_last_modified and srcache , no 304 possible ?

agentzh agentzh at
Wed Apr 4 03:23:12 UTC 2012

On Tue, Apr 3, 2012 at 5:21 AM, Nginx_User777 <nginx-forum at> wrote:
> Is it possible to use the memc_flags_to_last_modified directive with
> srcache ?
> It doesn't work for me.
> When a browser request nginx with a "If-Modified-Since" header, I would
> like that nginx lookup in memcached to verify if the "Last Modified" is
> the same and honor the 304 request without hit the proxied server (in
> another country).
> Impossible to get a 304, so no bandwith saved ... But my provider is
> happy :)
> Thanks for your help !
> I working on for several days, i'll really go mad :)

This is a TODO item for ngx_srcache. I'll look into this in the near
future. Thanks for reminding me of this :)

Best regards,

More information about the nginx mailing list