Background of the issue:
I am experiencing performance issues after switching my website to a multi-domain structure. The primary domain is surfcamp.it, and I have one WordPress installation serving three different domains for different languages. The server has 1GB RAM, PHP 8.3.22, and Redis caching enabled. Pages take 15+ seconds to load with approximately 1,500 database requests per page. Performance was acceptable in development with a subdirectory structure but became severe after switching to a multi-domain production setup.
Symptoms:
Extremely slow page loads (15+ seconds), with the slowest queries being from WPML. I am also getting 'cURL error 6: Could not resolve host: ate.wpml.org' on certain pages, which seems like a license issue. Performance is particularly bad on package/booking pages.
Questions:
The cURL issue seems like it propagated nearly 3 weeks after we changed domains (dev.surfcamp.it -> surfcamp.it), what is the cause?
How do we resolve the ate.wpml.org connection errors? Are there firewall/port requirements?
What WPML configuration optimizations can improve performance with our multi-domain setup?
|