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
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
I’ve just committed a patch to ngx_srcache’s git master to add support
for conditional GET requests (for both If-Modified-Since and
If-Unmodified-Since):