Hi,<div><br></div><div>By default the cache key is made using req.http.host and req.url and this means that for the same resource requested with a different query string we have a different cache key, object.</div><div>However I need that for few specific URLs (static content) to have only one cache object per URL and serve it no matter what query string I have. Something like in the below example:</div>
<div><br></div><div>Lets suppose that I have the following URLs:</div><div><br></div><div><a href="http://www.example.com/a_specific_path/image.png?parameter1=value1">www.example.com/a_specific_path/image.png?parameter1=value1</a></div>
<div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.example.com/a_specific_path/image.png?parameter2=value2">www.example.com/a_specific_path/image.png?parameter2=value2</a></div><div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.example.com/a_specific_path/image.png?parameter3=value3">www.example.com/a_specific_path/image.png?parameter3=value3</a></div><div>:</div>
<div>:</div><div><a href="http://www.example.com/a_specific_path/image.png?parameterN=valueN">www.example.com/a_specific_path/image.png?parameterN=valueN</a></div><div><br></div><div>I want to use only</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
/a_specific_path/image.png   +  req.http.host </div><div><br></div><div>for creating/checking  the cache key and to serve this cache object no matter what query string "parameterN=valueN" I have to this specific URL.</div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>It is possible ?</div><div><br></div><div>Thanks,</div><div><br></div><div>--</div><div>Cosmih</div>