Large MO/PHP file Splitting
-
The plugin is awesome and an excellent idea. I had written the blog post about the slow localized WordPress and i have thoroughly made my tests with your plugin too. GingerMO on php part is done and working well. But still the performance gain is not big enough, since there are some immensely large po files, like the woocommerce and wordpress ones. The next step is definitely the splitting, either frontend/admin or even with a better way you had analyzed. For example, on my site, really utilizes around 100-200 woocommerce translations for frontend, and i use wordpress admin on english as default so the translated admin strings are useless. So currently my site only needs 100-200 out of the 8000 strings outputed on each and every page load with definitely slows down the site. I also use Code Profiler Pro plugin which tests the php performance of each plugin/file/function, and the Performant Translations plugin with woocommerce and other large mo/php files accounts for 0.1-0.15s on every page (out of arround 0.7s), and with only woocommerce file removed, it gets down to 0.04s which is great! So on my benchmarks, with performant translations, I found around 15-20% performance gain, and with smaller mo/php files, its an extra 10-15%. And my almost 30+% slower greek version of site (without the plugin), gets to almost identical with the plugin and with small mo/php files.
- The topic ‘Large MO/PHP file Splitting’ is closed to new replies.