Sign in

Publii is fast, but this can make it faster

  • This topic has 1 reply, 2 voices, and was last updated 3 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3713
    Avatar photoscotdill

    Publii is very fast and im proud to use this platform for our blog.

    An issue many webmasters face is that when you use video on your site, it really slows down the loading and increases your page size substantially.

    A publii site on a fast server can load in half a second.

    A publii site with a video embeded can take 2.5 seconds.

    Is there a way that we can add a feature that when the video is uploaded it doesnt load the whole player and buffer the video.

    You have to click the video to start to load.

    You use vanilla js and there is a fix for this, however its difficult to enable when your blog has hundreds of posts.

    https://www.jqueryscript.net/blog/best-youtube-video-lazy-load.html#vanilla

    If you could add this feature that would be amzing.

    #3714
    Avatar photoBob

    In general, when you use the Insert/Edit Media tool to embed the video Publii automatically adds a loading attribute to the iframe (native lazy load).

    screenshot-2020-09-5-o-14.00.30

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

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