Title: Translatepress Object Cache
Last modified: May 24, 2022

---

# Translatepress Object Cache

 *  Resolved [k4mr4n](https://wordpress.org/support/users/k4mr4n/)
 * (@k4mr4n)
 * [4 years ago](https://wordpress.org/support/topic/translatepress-object-cache/)
 * 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](https://wordpress.org/support/users/sareiodata/)
 * (@sareiodata)
 * [4 years ago](https://wordpress.org/support/topic/translatepress-object-cache/#post-15676138)
 * 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/](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](https://wordpress.org/support/users/k4mr4n/)
 * (@k4mr4n)
 * [4 years ago](https://wordpress.org/support/topic/translatepress-object-cache/#post-15676395)
 * 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](https://istanli.com)
 *  Plugin Author [Cristian Antohe](https://wordpress.org/support/users/sareiodata/)
 * (@sareiodata)
 * [4 years ago](https://wordpress.org/support/topic/translatepress-object-cache/#post-15676483)
 * Hi, all those settings should be disabled. Can you send me a screenshot of the
   advanced page?
 *  Thread Starter [k4mr4n](https://wordpress.org/support/users/k4mr4n/)
 * (@k4mr4n)
 * [4 years ago](https://wordpress.org/support/topic/translatepress-object-cache/#post-15676566)
 * I have added all advanced settings screenshots into google drive, you can check
   it from [here](https://drive.google.com/drive/folders/11lrfEF9h_QAugnJtPFpht1zcitucI_Q4?usp=sharing)
 *  Plugin Author [Cristian Antohe](https://wordpress.org/support/users/sareiodata/)
 * (@sareiodata)
 * [4 years ago](https://wordpress.org/support/topic/translatepress-object-cache/#post-15676605)
 * 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](https://wordpress.org/support/users/k4mr4n/)
 * (@k4mr4n)
 * [4 years ago](https://wordpress.org/support/topic/translatepress-object-cache/#post-15676830)
 * 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](https://wordpress.org/support/users/sareiodata/)
 * (@sareiodata)
 * [4 years ago](https://wordpress.org/support/topic/translatepress-object-cache/#post-15698511)
 * 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
 *  [explozer](https://wordpress.org/support/users/explozer/)
 * (@explozer)
 * [4 years ago](https://wordpress.org/support/topic/translatepress-object-cache/#post-15721337)
 * I have the same problem as you k4mr4n (@k4mr4n) did you manage to solve this 
   problem?
 *  [Livux](https://wordpress.org/support/users/livux/)
 * (@livux)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/translatepress-object-cache/#post-16173542)
 * Hi, same!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Translatepress Object Cache’ is closed to new replies.

 * ![](https://ps.w.org/translatepress-multilingual/assets/icon.svg?rev=3166541)
 * [TranslatePress - Translate Multilingual sites with AI Translation](https://wordpress.org/plugins/translatepress-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/translatepress-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/translatepress-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/translatepress-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/translatepress-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/translatepress-multilingual/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [object-cache](https://wordpress.org/support/topic-tag/object-cache/)
 * [redis](https://wordpress.org/support/topic-tag/redis/)

 * 9 replies
 * 4 participants
 * Last reply from: [Livux](https://wordpress.org/support/users/livux/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/translatepress-object-cache/#post-16173542)
 * Status: resolved