Before you ask please READ THIS

Connecting to vimeocdn.com

edited April 2018 in Rife Posts: 15
Hi! I've noticed on my site that uses Rife, when each page loads there's a delay while it tries to connect to secure-a.vimeocdn.com.

Is this an outbound connection from the theme or one of the inbuilt plugins? It may be a plugin I'm using of course but I've never noticed it before..

List of ACTIVE plugins.
Apollo13 Framework extensions
Elementor
Limit login attempts
Redux framework
SearchWP Live Ajax search
Slider revolution
WPForms lite
Yoast SEO

WordPress version number.
4.9.5

Theme version number you are using.
1.7.2

Have you made any code modifications(CSS, JS, PHP)? If yes write what you changed.
No

Any additional information that might help.

The connection seems to be tried every time a new page loads

My site is www.redwoodphotography.co.uk

Thanks!
Post edited by redwood on

Comments

  • AirAir
    Posts: 10,970
    Hey redwood:-)

    There are 2 places in theme that call for Vimeo API:
    1. Our slider but only is you have used Vimeo video
    2. Our lightbox - almost on every page.

    Maybe I should add option to lighbtox setting to disable loading Vimeo API when you don't plan to use it.

    Unfortunately, as ligthbox was not created by us I can not load Vimeo API conditionally like in slider. Also it would be hard to predict if lightbox will be used to open Vimeo video, but I agree that loading Vimeo API on each page is a waste.

    If you like you could try to remove it for now by going to rife/js/script.js line ~4460 and removing all this code:
    var tag = document.createElement('script');
    tag.src = "https://secure-a.vimeocdn.com/js/froogaloop2.min.js";
    var firstScriptTag = document.getElementsByTagName('script')[0];
    firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
    I will think what can be done with this.

    With kind regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion