How does the Proxy Cache Key Lookup actually happen?

samgujrat1984 nginx-forum at nginx.us
Thu May 15 16:05:04 UTC 2014


Hi, 

I am also trying to cache a url have this query but still no luck any
suggestion

http://x.x.x.x/aaa/splashTF=100%25&US=A&AR=D&TD=%2450&BR=T&TS=12515f542140&OR=%2410%2F100MB&DN=BAQGBgEEBwQAAw%3D%3D&ET=TD&BE=1332d9a&BN=CS&AL=2000


I tired these three different proxy_cache_key  , I am not sure where I am
doing wrong 


proxy_cache_key $scheme$host$request_method$request_uri;
1-     #proxy_cache_key
"$host$uri?TF=100%25&US=A&AR=D&TD=%2450&BR=T&TS=12515f542140&OR=%2410%2F100MB&DN=BAQGBgEEBwQAAw%3D%3D&ET=TD&BE=1332d9a&BN=CS&AL=2000&LG=E";
  2-       #proxy_cache_key
"$host$uri?TF=100%25&US=A&AR=D&TD=%2450&BR=T&TS=12515f542140&OR=%2410%2F100MB&DN=BAQGBgEEBwQAAw%3D%3D&ET=TD&BE=1332d9a&BN=CS&AL=2000";
     3-    #proxy_cache_key "$scheme://$host$uri$is_args";
        proxy_cache_key       $uri$args_is?TF=$arg_TF &US=$arg_US
&AR=$arg_AR
&TD=$arg_TD&BR=$arg_BR&TS=$arg_TS&OR=$arg_OR&DN=$arg_DN&ET=$arg_ET&BE=$arg_BE&BN=$arg_BN&AL=$arg_AL;

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249851,250125#msg-250125



More information about the nginx mailing list