{"id":13506,"date":"2021-04-22T13:07:25","date_gmt":"2021-04-22T07:07:25","guid":{"rendered":"https:\/\/help.codexpert.io\/?post_type=docs&#038;p=13506"},"modified":"2026-02-23T05:14:55","modified_gmt":"2026-02-23T05:14:55","slug":"why-the-custom-links-are-taking-more-time-load","status":"publish","type":"helpwp_doc","link":"https:\/\/wcaffiliate.com\/docs\/troubleshooting-and-others\/why-the-custom-links-are-taking-more-time-load\/","title":{"rendered":"Why the custom links are taking more time load?"},"content":{"rendered":"<p>The custom links crated with WC Affiliate are taking more time to load because of a caching issue. If you\u2019re using a caching plugin that caches the static content of the pages but doesn\u2019t do when the URL contains query strings added. Query strings are pairs of keys and values that are added to the main URL. In our case, ref=10 is an example of query strings.<\/p>\n<p>This is why it loads faster if you access a clean URL (without any query strings). Example: wcaffiliate.com but takes more time when wcaffiliate.com\/?ref=10&amp;campaign=test is accessed.<\/p>\n<p>The same happens if you test with any query strings even that are not related to WC Affiliate. For example: wcaffiliate.com\/?mykey=myvalue<\/p>\n<p>So, as you can understand, the problem is not related to our plugin. Please reach out to the cache plugin support and see if they can assist on how to enable cache for URLs with a query string.<\/p>\n","protected":false},"author":2,"featured_media":0,"template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}}},"helpwp_product":[53],"helpwp_topic":[46],"class_list":["post-13506","helpwp_doc","type-helpwp_doc","status-publish","hentry","helpwp_topic-troubleshooting-and-others"],"_links":{"self":[{"href":"https:\/\/wcaffiliate.com\/docs\/wp-json\/wp\/v2\/helpwp_doc\/13506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wcaffiliate.com\/docs\/wp-json\/wp\/v2\/helpwp_doc"}],"about":[{"href":"https:\/\/wcaffiliate.com\/docs\/wp-json\/wp\/v2\/types\/helpwp_doc"}],"author":[{"embeddable":true,"href":"https:\/\/wcaffiliate.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"wp:attachment":[{"href":"https:\/\/wcaffiliate.com\/docs\/wp-json\/wp\/v2\/media?parent=13506"}],"wp:term":[{"taxonomy":"helpwp_product","embeddable":true,"href":"https:\/\/wcaffiliate.com\/docs\/wp-json\/wp\/v2\/helpwp_product?post=13506"},{"taxonomy":"helpwp_topic","embeddable":true,"href":"https:\/\/wcaffiliate.com\/docs\/wp-json\/wp\/v2\/helpwp_topic?post=13506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}