Cloudflare / Distance to Post

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 4 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #515088

    vivek
    Full Member
    Post count: 246

    Hi, After activating Cloudflare CDN on my site, I observed that the DTP on search results is getting cached in the archive item.

    So say user A runs a search and listings 1,2,3 show in the results with DTP as x,y,z from the user A.

    Now, User B runs a search (from some other location in the city – i currently have listings only in one city though i do have LM ). if items 1,2,3 also show in this users results, they show the same DTP (ie x,y,z) as was earlier shown for user A, though of course user B is in a differnet place. Also the cached DTPs for these listings 1,2,3 show even on archive pages (ie without search), while other listings which have not yet appeared in search results (say 4,5,6) show as expected on archive pages without the DTP.

    I have deactivated Cloudflare on my site as it was showing wrong DTP to users, so i cannot show the pages to you now, but it appears CF is also caching the archive items and hence serving the same archive items to other users.

    Any suggestions on this please- i would like to use a CDN for performance but cannot, with this behaviour.

    thanks very much, Vivek

    #515134

    Alex Rollin
    Moderator
    Post count: 27815

    Please check with your CDN about how to exclude those pages.

    See also: https://wpgeodirectory.com/docs-v2/faq/performance/#faq

Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket