Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with first debugging steps or if I can perhaps help with the issue quickly.
I inspected the link you shared and I am seeing the following, which is separate files in separate folders (see attached screenshot). Can you tell us specifically which named file you see loading too many times?
this one, like i sent in the image before and here
/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/menu-item/style.min.css?ver=1
I hope you're doing well. I've taken over this ticket and will try my best to assist you in this matter.
I understand your concern regarding the file issue. As Lauren previously mentioned, the file in question appears to be loading from two distinct directories, yet bears the same name, "Style.min.css." Despite sharing a name, these files serve different purposes.
Upon reviewing your site, I also noticed that "Style.min.css" is indeed loaded twice, but from two separate paths: "sitepress-multilingual-cms/templates/language-switchers/legacy-list-horizontal/" and "sitepress-multilingual-cms/templates/language-switchers/menu-item/". It's important to note that these files, although named identically, reside in different folders and contain unique content. Therefore, you can be assured that no files from WPML are being loaded multiple times on your site.
I hope this clarifies your queries. Feel free to let me know if you have any other questions or concerns. I will be happy to help.
Best regards,
Prosenjit
The topic ‘[Closed] loading too many times the files’ is closed to new replies.