I'm trying to get the returned header .e.g. detectHeaderX-Cache: cacheableand then storing the returned page in redis.can you provide suggestions on how can i detect the header? using lua? .
Hello! On Mon, Feb 2, 2015 at 6:17 PM, Brian Akins wrote: > How are you communicating with php? fast-cgi? You can use > ngx.location.capture > Or better, use the ngx_srcache module: https://github.com/openresty/srcache-nginx-module#readme which is more efficient for relatively large responses (though less flexible). Regards, -agentzh