• Resolved k4mr4n

    (@k4mr4n)


    Hi,
    We are using Translatepress with Woocommerce and our pages include all products translated by Translatepress, but we are expreincing a huge slow down in Russian language which we are set in translatepress, basically our website original language is in Turkish and it is translating to Russian. We are also using Redis Object Cache to speed up backend, in Turkish language it is working but in Russian language Redis does not cache, after we have noticed that Translatepress set wp_cache_add_non_persistent_groups(array('trp')) which makes Redis do not cache,

    We are tried to comment this line of code to cache translatepress backend to speed up our Russian language, it somehow helped, but we have experienced huge problems with permalinks which takes most pages to 404 NOT found in russian language

    My question is if there is solution to cache Translatepress backend so we wont get problems with permalinks, because we are experiencing slow down in Russian Language, as I said Translatepress dev set wp_cache_add_non_persistent_groups(array(‘trp’)) as default.
    If not is there anything else we can do to speed up our translated website.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Cristian Antohe

    (@sareiodata)

    Hi,

    You are not supposed to cache those. That’s why we added the exclusion.

    As for the slowdown, there are a few things you can check:

    * go to Settings -> Advanced and make sure none of the debug settings are active. Particularly “Fix spaces between HTML attributes”. Make sure that one is not checked.
    * also in Settings -> Advanced you have Optimize TranslatePress database tables. Run that script and see if it improves loading speed.
    * do you have Pods plugin? If you do, there is a big speed penalty with it. We’re not sure what’s causing it yet, but it’s documented.
    * install this plugin: https://translatepress.com/download/11020/ It will disable gettext string translation. See if that improves loading times on the secondary language.

    Best Regards,

    Thread Starter k4mr4n

    (@k4mr4n)

    I have checked all settings configuration but default all of them is unchecked, and I optimized translatepress database table and added the plugin that you recommended, unfortunately it did not help, it takes to about 10-12seconds to open one page in Russiang language, but in default language it takes 2-3seconds.
    You can check it in here: Istanli

    Plugin Author Cristian Antohe

    (@sareiodata)

    Hi, all those settings should be disabled. Can you send me a screenshot of the advanced page?

    Thread Starter k4mr4n

    (@k4mr4n)

    I have added all advanced settings screenshots into google drive, you can check it from here

    Plugin Author Cristian Antohe

    (@sareiodata)

    The only thing I can think of right now is if possible create a staging environment where this issue is replicated.

    Then do a compatibility test. One by one, disable each plugin and see if there is an improvement in speed.

    We’ve had issues in the past with other plugins together with TranslatePress negatively impacted the speed of the site.

    Thread Starter k4mr4n

    (@k4mr4n)

    I have deactivated plugins and tested, no result unfortunatelly, I have noticed that Translatepress sending 4 trp-ajax.php requests is it normal? If not, what can cause this?

    Plugin Author Cristian Antohe

    (@sareiodata)

    trp-ajax.php is used for translating dynamic strings that are being added from Javascript.

    You can disable this from Settings -> Advanced -> Disable dynamic translations

    I have the same problem as you k4mr4n (@k4mr4n) did you manage to solve this problem?

    Livux

    (@livux)

    Hi, same!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Translatepress Object Cache’ is closed to new replies.