• Resolved ingohaeck

    (@ingohaeck)


    Hi,

    First:
    The plugin works great with worker mode. Thank you!

    I want to link certain affiliate links to ebay shops of certain country.
    For example:
    Page visitor from Switzerland shall see a link to ebay.ch and
    page visitor from Germany will see a link to ebay.de.

    This can be achieved with an plugin (dynamic.ooo), which will serve content based on geolocation and show/hide parts of the page for a certain country.

    Will your plugin recognize which page version is to serve for a certain country?

Viewing 1 replies (of 1 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    No, this plugin won’t provide seperate cache content for different geolocation as it just destroys the concept of global caching and faster TTFB. The plugin is designed to ensure once the item gets cached in one place it can also be quickly provided to the rest of the world.

    Anyways I guess if you absolutely want it you can modify our worker script and add this geolocation logic there if you want. But this will reduce the cache HIT ratio tremendously. As for cloudflare to keep things in cache it needs to make sure the resources are getting good traffic. Now if you create separate cache for each country then obviously all of them won’t be getting good traffic all the time and as a result will get deleted from CF CDN. So, the page will be fetched from origin server anyways.

    I think in this case you cannot use a page caching system as anytime a user comes you must have to check their country at the server level and then dynamically generate the content – so no proper page cache will work here.

Viewing 1 replies (of 1 total)
  • The topic ‘Different content for different countries’ is closed to new replies.