• Resolved Dan14

    (@dan14)


    lets say my affiliate links added to urls /?referrer=example

    These urls initially are not cached but if visited they are cached. The difference is the loading time. When not cached, ttfb for html is 1.9 seconds. When cached, its 900ms on the first visit.

    I have to purge the cache occasionally. Is there any way to have affiliate links cached quickly? If myhompage.com/?referrer=example is cached, mydompage.com/post/?referrer=example is not cached unless it’s visited at least once.

    I hope I was clear. The affiliate software handles caching very well.

    • This topic was modified 4 years, 8 months ago by Dan14.
Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @dan14

    Thank you for your question.
    By default, the URLs with query strings are not cached if the caching method is Disk: Enhanced.
    So you should either switch to Disk: Basic or use memory-based caching and enable the option Cache URIs with query string variables in Performance>Page Cache.
    It’s not advisable to cache any affiliate links since those links should be unique per visitor.
    I hope this answers your qeustion.
    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Affiliate links cache’ is closed to new replies.