WPML Media compatibility




Wordpress LScache Plugin: WPML Media compatibility

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hello, I think that LS cache plugin doesnt work well with WPML and its media extension. After installing and configuring WPML I can see that Image Optimization panel shows twice the image groups and exactly half of them are not optimized. I dont know what happens after Ive sent them for optimization ? will LS server optimize images twice or not? WPML does not duplicate originals so LS cache plugin shouldnt treat translated media content as separate images for optimization. We dont have a WPML copy to test. Just noticed you are on WPMLs contractor list. Can you please check if you have duplicated records for one image in db? Please check both $wpdb->posts and $wpdb->postmeta. I can provide a key or install packages if youre willing to test this out. I believe that WPML team will also be happy to assist. Yes, media posts are doubled just like regular posts translated with WPML. However, it should be easy to filter as GUIDs are the same (both IDs point to the same file). Running extra GUID comparison might be enough. And yes ? it seems that my optimized images are being happily reoptimized. Awesome Good to know. Please provide the key to info@litespeedtech.com. Will test it out. In our dev schedule we do have a server side improvement to make it not optimized again if it is finished once. But no ETA yet. Will do with this compatibility issue together prolly. Files sent via WeTransfer. No pressure but Id just like to know if youve had a chance to look into this issue? Yes we noted it. Will let you know once we fixed it. Thanks. This will be fixed in v2.0 which is next release. Mostly awesome!



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference