Add option to ignore query string

When you use querystring parameters that are not used on the server, including the querystring in the cache key would bypass the cache every time when the parameters change. 

This PR adds an option to ignore the querystring when building the cache key.