Improve your hit/miss ratio with Ignore Selective Query Strings

1 minute read

After Brotli, HTTP/2 and Let’s Encrypt’s SSL we’re bringing you yet another feature to boost the performance of your CDN resource. This time, we have mainly focused on improving your user’s experience and we now introduce the new Ignore Selective Query String feature.

The name of the feature is quite self-explanatory – it enables you to ignore selected query strings in your URL. This way, our servers will treat www.yoururl.com/?reflink=referral1 and www.yoururl.com/?reflink=referral2 as virtually the same. In situations similar to this referral example, the ignore selected query strings feature comes in quite handy. If you have multiple links leading to the same page, which differ only in the parameter (such as affiliate links, Google Analytics links with UTM parameters etc..) there is no point in having multiple copies of the same page cached on our servers. By adding “reflink” into the list of ignored selected query strings, visitors coming from referral links to your homepage will all be served the same page.

We have supported ignored strings feature for quite some time now, but today you can choose to ignore only some of the query strings on your website. Generally speaking, we do recommend to turn this feature on. Having the ignore query string feature turned off would result not only in multiple copies of the same page but also longer loading times for the end users.  Every referral URL would first need to be cached to be then served to other users. Plus we must take into account that this cache will expire and would have to be renewed in the future.

There are cases when enabling only the Ignore Queries feature might not be the right thing to do. For instance, your website has pagination parameters, but a change in the pagination parameter in a URL usually leads to a completely different page, with different content. This can now be resolved by selecting only those parameters, which do not change the content of a given page. Implement the selected ignore feature and you’ll be left off with fewer pages in the cache, higher hit/miss ratio, and much happier users.

In the image below you can see the settings of Query strings, which you can find in Other settings tab in any of your CDN resources.

For more information, check our knowledge base on how to enable the query strings.

Get our news right away