Wordpress LScache Plugin: LiteSpeed + WPML with different domains per language
Last Updated on: Wed, 15 Apr 2026 00:00:02 My website is using WPML to translate my English website into German using WPML. My main site in English is being cached, and I can see CDN serves most of the files. My second domain https://tld.de” is not being cached and not being served by CDN. How do I enable cache and CDN on my second and other language domain? Did you use A different domain per language in WPML setting? Yes different domain per language. That didnt work for now. Because the other domains dont match the domain in WP setting, thus they will be considered as external domains not internal. Will improve in next couple releases. One question, for your second domain, it will be the same CDN URL in CDN Mapping, right? That is to say, there is no difference for Mapping settings between your domains. If it is possible, CDN option per domain will be useful in the future. You mean http://ori_domain_a.com may have a different cdn mapping setting than http://ori_domain_b.com? Yes, http://ori_domain_A.com domain for English and it will use http://cdn.ori_domain_A.com http://ori_domain_B.com domain for German and it will use http://cdn.ori_domain_B.com It can be optional or all domains can use one CDN service. Can you do these steps? 1. Update by https://raw.githubusercontent.com/litespeedtech/lscache_wp/master/litespeed-cache/admin/litespeed-cache-admin-report.class.php or use these two commits https://github.com/litespeedtech/lscache_wp/commit/d98f721aacf10c9d920678b7df90a4c1d752efef https://github.com/litespeedtech/lscache_wp/commit/aea16ea93de2936e607af5e9d47c442a22ed93ad 2. Give two report numbers from your first&second domains? Thanks. For 1, please note the file is in this version: https://raw.githubusercontent.com/litespeedtech/lscache_wp/aea16ea93de2936e607af5e9d47c442a22ed93ad/litespeed-cache/admin/litespeed-cache-admin-report.class.php Hello, I updated new version of the LiteSpeed Cache Plugin today. And CDN working very well for Multi-Domain. And also I updated litespeed-cache-admin-report.class.php with your code, and it is working too. Cool. Enjoy! Hi, I also have this problem in 2.7.7 version. Cache doesnt work at all for second domain. Have you fixed it in this version or should I modify some files? When are you planning to add it? Thanks. Hi @george9, all talked commit is in latest version already. Your cache issue could be different than this CDN issue. Can you please create a new topic? Thanks Hi, this issue is about cache only. I dont use CDN. Ive created a new topic. Thanks.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference