• Resolved blindpet

    (@blindpet)


    Hello, first I want to say thank you for this excellent builder. I knew when I tested it that it would be my favorite! That said, upon staring to use it I have noticed some performance concerns with unnecessary requests and compatibility issues with Autoptimize.

    The page I am making is very simple landing page for WP Bullet.

    As you can see there are a few images and some buttons.

    Here is a performance report from pingdom.

    I am using GeneratePress and have already set the h1-h6 tags to use Raleway bold and my content text to Roboto. However, Elementor does not seem to inherit these automatically and always uses Roboto even for headings. I would love if it could inherit heading classes from GeneratePress or any theme for that matter.

    As you can see from the performance report my site seems to be downloading both Raleway and Roboto fonts 4 times via Elementor. Why is that? Is it possible to stop this so it uses the already used and requested fonts from the theme itself?

    I am not using youtube on my page yet this URL https://www.youtube.com/iframe_api is requested and loaded anyway. Why?

    What is this widget-api file https://s.ytimg.com/yts/jsbin/www-widgetapi-vflQ-R4Us/www-widgetapi.js and is there a reason we don’t self-host it instead of requesting it externally?

    The font awesome file has the query string appended, sadly query string remover plugins do not remove query strings from woff files, can you give us the option to disable the query string?

    With Autoptimize enabled Elementor page builder will frequently not load or allow saving. Can this be remedied?

Viewing 15 replies - 1 through 15 (of 20 total)
  • @blindpet – I am very interested in what their reply to your other observations will be but for the font inheritance matter, this should do it:

    Dashboard > Elementor > Settings > Disable Color Palettes and Disable Default Fonts > tick these two and Save Changes ?? IMHO, these should be ticked by default.

    Cheers!
    Lyle

    Thread Starter blindpet

    (@blindpet)

    Thanks @learnwpbasics I look forward to their reply to them as well, will test out your proposed fix and report back

    Thread Starter blindpet

    (@blindpet)

    Thanks for that @learnwpbasics , it did reduce the number of font requests, however it is still asking for Raleway twice and Roboto once even though the theme already loads them.

    https://tools.pingdom.com/#!/bZxoOz/https://wp-bullet.com/

    Hi @blindpet,

    1. If you disable default fonts (as mentioned above by @learnwpbasics) the fonts will not load at all, unless you specify a font inside one of the elements.
    We don’t have any way to know what comes from your theme itself, so as long as you don’t choose a font in Elementor you will not get any font at all.

    2. For now, we are loading Youtube API all the time, but it shouldn’t affect upload time, cause it’s being loaded after the page is already fully loaded (after the document is ready).
    However, we are working to improve this, so in future it will appear only when needed.

    3. This file: https://s.ytimg.com/yts/jsbin/www-widgetapi-vflQ-R4Us/www-widgetapi.js comes from Youtube API.

    4. We are loading Font Awesome’s version because this file is updating from time to time.
    For example, only yesterday we released an update for 4.7 vesrion of the project, so it’s required for new visitors.

    Thank you very much for your feedback.
    One of our main concerns is to improve Elementor’s perfomance and in time we will offer much more features.

    Hi @blindpet,

    1. It seems like you set this font inside one of the elements and this is why you still get a request for it.
    2 & 3. You are right and we are working to improve this feature.
    4. Thanks for this suggestion, we will consider it for future versions.
    5. We didn’t encountered issues with this plugin, can you give us more details?

    Thread Starter blindpet

    (@blindpet)

    Hi @boaz

    1. I have been through all the elements, they are all set to default. Maybe there is something I am missing or perhaps I have stumbled upon a bug.

    2 & 3 – glad to hear it

    4 – thank you, this will be pretty important

    5. The experience I got was pretty much what I outlined, when Autoptimize is activated and minifying html, css and JS, Elementor fails to load sometimes and will freeze on Saving.

    Hi @blindpet,
    1. Can you send us a URL to a page with this issue?
    It could be also related with caching.

    5. Please check this discussion
    (specifically futtta’s comments):

    And also check their FAQ.

    • This reply was modified 8 years, 4 months ago by Boaz.
    Thread Starter blindpet

    (@blindpet)

    Hi @boaz

    The URL where you can see it is WP Bullet. I control the server completely and Varnish cache has been restarted so the entire cache has been emptied multiple times.

    5. Thanks for this, will Elementor have this snippet or similar activated with a checkbox in the future? It would be nice to be able to test minified files while logged in without having to disable Autoptimize entirely while logged in so Elementor works ??

    add_filter('autoptimize_filter_noptimize','pagebuilder_noptimize',10,0);
    function pagebuilder_noptimize() {
      if (is_user_logged_in()) {
        return true;
      } else {
        return false;
      }
    }

    Hi @blindpet,

    1. It seems like this font comes from the theme or a different plugin.
    In anycase not from Elementor.

    2. We think that it should be built-in inside the caching plugin, but it’s an interesting idea and we will consider it for future versions.

    • This reply was modified 8 years, 4 months ago by Boaz.
    Thread Starter blindpet

    (@blindpet)

    Hi @boaz

    1. Are you sure? Before I did what Lyle suggested I had these requests, all from Elementor

    View post on imgur.com


    After I set everything to default, I still get requests that look just like those but fewer, the ones from the theme are at the top and do not have these random hashes so they seem to be from Elementor.

    https://tools.pingdom.com/#!/KtFIx/https://wp-bullet.com/

    https://tools.pingdom.com/#!/KtFIx/https://wp-bullet.com/

    2. I think Frank from Autoptimize added that function so page builders could implement it, I will check with him and get back to you

    • This reply was modified 8 years, 4 months ago by blindpet. Reason: added imgur links to zoom

    regarding autoptimize compatibility; the non-code alternative is telling users to use the code present is AO’s FAQ (and which blindpet referred to), but ideally on elementor-side you hook into autoptimize_filter_noptimize automatically, conditional to the user being logged on and that elementor is active (i.e. e.g. not for “authors” as they might not have rights to use elementor for example)?

    frank

    Plugin Author ArielK

    (@arielk-1)

    Thanks @futtta for the idea. We definitely going to check it soon.

    • This reply was modified 8 years, 4 months ago by ArielK.

    you’re welcome!

    fyi; there’s autoptimize_filter_js_noptimize as well, which can by used to only disable JS optimization as well.

    let me know if you need assistance from me at any stage!

    Plugin Author ArielK

    (@arielk-1)

    Thread Starter blindpet

    (@blindpet)

    Thank you both @futtta and @arielk-1

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Performance Improvements’ is closed to new replies.