Works like a charm. Thank you very much Yichun.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,243462,243472#msg-243472
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hello!
On Sun, Oct 6, 2013 at 3:59 AM, lahiru wrote:
> Hello,
>I'm using memcached + srcache. I need to modify the $args and
> take it as the cache key.
>
Easy if you're using the ngx_lua module at the same time. Below is a
minimal example that demonstrates this:
location = /t {
Hello,
I'm using memcached + srcache. I need to modify the $args and
take it as the cache key.
For example;
RT=62&SID=BC3781C3-2E02-4A11-89CF-34E5CFE8B0EF&UID=44332&L=EN&M=1&H=1&UNC=0&SRC=LK
I need to convert above $args string to below by removing parameters SID and
UID.
RT=62&L=EN