pressjitsu / pomodoro

A simple WordPress translation cache
GNU General Public License v3.0
68 stars 17 forks source link

How to verify it is working? #20

Open wpsumo opened 3 years ago

wpsumo commented 3 years ago

How to verify it is working. Can not see any php cache files generated. Can not see any .mocache

jonasborneland commented 3 years ago

I would like to know this too. @soulseekah It could be nice with a little quick guide on how to verify it is working. And also a quick guide on how to use the POMODORO_CACHE_DIR :-)

wpsumo commented 3 years ago

@soulseekah Will it work with WPML as they also have some cache and store their strings via string translation plugin in a folder within /wp-content/languages/

Didn't see any success in my test that any mo files were cached.

soulseekah commented 3 years ago

@soulseekah Will it work with WPML as they also have some cache and store their strings via string translation plugin in a folder within /wp-content/languages/

Didn't see any success in my test that any mo files were cached.

No. Language plugins are usually incompatible between themselves. There will be conflicts.

wpsumo commented 3 years ago

@soulseekah Okay, so it will not work together with WPML? WPMLs string plugin doesn't seem to cache good at all. It runs even DB calls on frontend, last time I checked. Would have hoped to be able to use a mo cache solution like opcache or redis for this., where your plugin is one solution.