Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 3 replies, has 3 voices.

Last updated by Prosenjit Barman 11 months ago.

Assisted by: Prosenjit Barman.

Author Posts
February 6, 2024 at 10:04 am #15270265

doronY

as you can see, the site loads the plugin files too many times, please help me to optimiize it
hidden link

for example: /wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-list-horizontal/style.min.css?ver=1

צילום מסך 2024-02-06 ב-11.58.08.png
February 6, 2024 at 6:00 pm #15273392

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

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?

Screenshot 2024-02-06 at 12.58.15 PM.png
February 7, 2024 at 8:00 am #15274834

doronY

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

צילום מסך 2024-02-07 ב-9.59.03.png
February 8, 2024 at 10:00 am #15280342

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,

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.