{"id":14015832,"date":"2021-02-07T18:55:10","date_gmt":"2021-02-07T18:55:10","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/ignore-query-string\/"},"modified":"2021-02-07T19:00:01","modified_gmt":"2021-02-07T19:00:01","slug":"ignore-query-string","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/ignore-query-string\/","title":{"rendered":"Ignore Query String"},"content":{"rendered":"<p>How can I achieve &#8220;Ignore Query String&#8221; like some CDNs do?<\/p>\n<p>Whether the url is<\/p>\n<pre><code>https:\/\/www.example.com\/cars\nhttps:\/\/www.example.com\/cars?=123\nhttps:\/\/www.example.com\/cars?data=123\nhttps:\/\/www.example.com\/cars?selection=abc<\/code><\/pre>\n<p>W3TC should only cache <code>https:\/\/www.example.com\/cars<\/code>.<br \/>\nNow if I open <code>https:\/\/www.example.com\/cars?=123<\/code> then W3TC doesn&#8217;t cache the <code>cars<\/code> page. It should, no matter if <em>&#8220;Cache URIs with query string variables&#8221;<\/em> is turned off, since I don&#8217;t want hundreds of cached occurances of the same cars page.<\/p>\n<p>As I remember it worked in 0.9.5.4! Somehow it was revised in later versions.<\/p>\n","protected":false},"template":"","class_list":["post-14015832","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14015832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":6,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14015832\/revisions"}],"predecessor-version":[{"id":14015852,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14015832\/revisions\/14015852"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14015832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}