admin管理员组文章数量:1429507
I have a blog were most of the traffic comes with query strings for tracking purposes, which means that query strings doesn't change the content of the site.
As I recently learned - W3 Total Cache & WP Fastest Cache, both don't cache pages with query strings.
The question is - how to make it W3 cache or WP cache cache pages with query string & most importantly make the query strings "ignorable", which means for example: if we have two hits: www.example/?t=123 www.example/?t=333
both are served as one page from the same cache.
I know that I can add "accepted query strings", but I don't know if it just allows to cache pages with query strings, or it also makes query string ignorable? Also - I think this feature forces pages with query strings to work with disk cache instead of disk: enhanced, which I'd like not to do. So - is there is a solution (it can be with W3 total or WP fastest) that ignores query strings and allow pages with them to get cached - without giving up disk:enhanced?
I have a blog were most of the traffic comes with query strings for tracking purposes, which means that query strings doesn't change the content of the site.
As I recently learned - W3 Total Cache & WP Fastest Cache, both don't cache pages with query strings.
The question is - how to make it W3 cache or WP cache cache pages with query string & most importantly make the query strings "ignorable", which means for example: if we have two hits: www.example/?t=123 www.example/?t=333
both are served as one page from the same cache.
I know that I can add "accepted query strings", but I don't know if it just allows to cache pages with query strings, or it also makes query string ignorable? Also - I think this feature forces pages with query strings to work with disk cache instead of disk: enhanced, which I'd like not to do. So - is there is a solution (it can be with W3 total or WP fastest) that ignores query strings and allow pages with them to get cached - without giving up disk:enhanced?
Share Improve this question asked Apr 26, 2017 at 10:11 FadiFadi 732 silver badges6 bronze badges1 Answer
Reset to default 2W3TC "Accepted query strings:" makes listed query strings ignorable: https://github/szepeviktor/w3-total-cache-fixed/pull/380
My current list is:
utm_source
utm_medium
gclid
This way these pages:
/page
/page?utm_source=blabla&utm_medium=email
/page?glcid=y349untg93h45t
are served from page enhanced cache as for /page
本文标签: W3 total CacheSite with query strings
版权声明:本文标题:W3 total Cache - Site with query strings 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745544053a2662623.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论