• Resolved breadf

    (@breadf)


    My site uses WPML. There is an issue with its currency switcher. WPML support said LS cached admin-ajax.php file. I am not sure where I can exclude file. Below is their reply:

    We have found that the issue is caused by the configuration of the LS Cache plugin, because disabling it solves the problem. Our 2nd-tier specialists recommended excluding the admin-ajax.php file from cache.

    If the LS Cache plugin indeed excludes the admin-ajax.php file (this is something you need to ask them), then you must contact them to get the correct configuration for their plugin so the currency switcher can work as expected.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter breadf

    (@breadf)

    @qtwrk Thanks. I will inform WPML support about this

    Thread Starter breadf

    (@breadf)

    Hi @qtwrk,

    They told me to switch to cookie as you told me: wcml_user_store_strategy – WPML

    But I can’t hit cache at the first page load now. I’ve set it up this way: https://imgur.com/a/byAD97M

    I also added the 4 cookies in advance -> vary.

    Is there any thing wrong with my settings?

    Plugin Support qtwrk

    (@qtwrk)

    yes, that’s kind of expected, for multi language or multi currency , first access should be missed in order to properly detect language/currency and set cookies for following requests.

    Thread Starter breadf

    (@breadf)

    Can _null not solve this?
    In this post: No hit with crawled pages | ww.wp.xz.cn, you taught me to use _null. At the time, there is only one cookie: wp-wpml_current_language. I put value: en, de, and _null. For first access, I also got cache hit.
    First access is important, as I need to do ad campaign. It takes more than 3s. This will affect campaign effect

    Plugin Support qtwrk

    (@qtwrk)

    you have created a ticket already , I will close this topic , and further communication will be performed over ticket system.

Viewing 5 replies - 16 through 20 (of 20 total)

The topic ‘admin-ajax.php cache’ is closed to new replies.