*

webcity

  • ****
  • 220 posts
Hi,

Google really penalises slow responding websites in search results.

The google Pagespeed Insights for the Epsilon theme shows a pretty poor score for mobile website views: https://pagespeed.web.dev/analysis/https-epsilon-mb-themes-com/n6v91bxew2?form_factor=mobile

Can someone please suggest the code modification to load the files that are delivered from https://cdnjs.cloudflare.com to be delivered from the local website server instead?

It would be great if future versions of the theme could have the option to load https://cdnjs.cloudflare.com files locally to save DNS lookup and css blocking while the browser connects with the external https://cdnjs.cloudflare.com service.

Many thanks


*

MB Themes

Re: Trying to speed-up loading time and not using cdnjs.cloudflare.com
« Reply #1 on: March 19, 2024, 09:44:52 AM »
Best way is to place everything directly into body and not use files. Loading files from local server does not help with anything.
You should move them to footer to avoid render block, but then pretty sure it will complain about site being messy when loading.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

webcity

  • ****
  • 220 posts
Re: Trying to speed-up loading time and not using cdnjs.cloudflare.com
« Reply #2 on: March 19, 2024, 11:02:01 AM »
Thanks for the reply, it is much appreciated.

By loading the above files locally it would save about 600ms on a mobile connection which can make a huge difference to search engine listing position.

If your classified site doesn't load fast you will have little chance at getting organic traffic from Google, sites that rank well for popular search terms load fast and have a good SEO score.

If you could let me know what code to change to load the files locally, it would be much appreciated and help others to be successful too.

Many thanks

*

MB Themes

Re: Trying to speed-up loading time and not using cdnjs.cloudflare.com
« Reply #3 on: March 19, 2024, 11:12:16 AM »
@webcity
You can hardly provide better performance then CDN service that's primary function is to do this.
Anyway you can copy that file to you server and change links in head.php
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots