Keep vimeo and youtube API from loading

Posted in: Newspaper
Post count: 52

Hello,

We do not use this feature. How can we remove the following APIs from loading? I see both in Gtmetrix PageSpeed and Ysow tests.

https://player.vimeo.com/api/player.js
https://www.youtube.com/iframe_api

Thank you

Post count: 312

same problem

Post count: 312

it’s probably linked to the update

Post count: 52

Hello. Any update on this?

Thank you!

Post count: 35449

Hi,

Indeed these two links were added in Newspaper v10.3.3 and are used by our theme, if you want to remove the external links, you can do it only from theme files -> wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js -> https://i.imgur.com/44Lzooc.png -> https://i.imgur.com/r3MR0uh.png
Unfortunately this is the only way to remove the scripts, also please not that this is not indicate, this can damage the theme functionality.

Thank you for your understanding!

Post count: 52

Hello @Calin,

This is unfortunate. We do not use this feature because we are trying to reduce elements from loading on all devices. I have experienced a slight reduced scores in GTmetrix and google insights because of this. I hope there is a way to remove this ‘feature’, without breaking the theme functionality or theme update over write in the future.

Regards

Post count: 312

I agree with @indochine, we all have to go to a light weight web (Low-tech web). Web is about 4% of CO2 emissions in World each year. So please make your theme as light as possible. Thank you

  • This reply was modified 6 years by gumball44.
Post count: 35449

Hi,

I’ve made a note to our developers and they will know what to do for the coming updates.

Thank you for your understanding!

Post count: 52

Thank you for forwarding our concerns.

Regards

Post count: 11

The new update 10.3.4, has this API links been resolved? Or do we have to manually remove the links again

Post count: 11

Should we remove all the codes you highlighted in the image or the link alone?

Post count: 19

It just seems crazy they wouldn’t have taken these bloated callbacks into consideration when creating the theme. They slow everything down. There should be a toggle switch for all callbacks, so we can shut of bloated API’s calls that aren’t being used.

Post count: 35449

Hi,

The update to v10.3.4 was made only for security, there are nothing else change in the theme -> https://i.imgur.com/VPXOS4P.png but this problem is on our list and will be fix.

Thank you!

Post count: 184

@genemorris welcome to the club. /s

Viewing 14 posts - 1 through 14 (of 14 total)
You must be logged in to reply to this topic.