• Resolved umairjadoon

    (@umairjadoon)


    I don’t want to use geolocation(cache enabled) because it is making my site slow. Instead, I would like to fragment or excempt PHP/js files from caching to make location based currency switch work with caching. Can you please refer me to the lines of code that is responsible for location based currency switching? So that I can stop it from caching. I will be very thankful.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Oscar Gare

    (@oscargare)

    Hi,
    The Fragment Caching is a feature that depends on the cache plugin that you are using. This is not the correct support forum to ask for it.

    You should ask in the support forum of the cache plugin.

    For our side, to add geolocation support to sites that using cache plugins we added the option “Load product price in background” (via AJAX)

    https://www.pricebasedcountry.com/docs/getting-started/geolocation-cache-support/

    Regards,
    Oscar.

    Thread Starter umairjadoon

    (@umairjadoon)

    Thank you from your prompt reply. For some reason, loading product price in background is not working for us (Maybe because of the modification in the code).

    If can you can please just point out the lines of code or files that is assigning the location geo based, that will be ver helpful for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fragmenting code for cache’ is closed to new replies.