[Tin tức] Increase Page Loading Speed With One Line Of HTML Code



Hello everyone, I’m creating a lot of new projects every day and sharing them ?, including things you’ll love to know about javascript and web Developer, Designer. Subscribe to the channel so you don’t miss it ✅.
#javascript #code #css
—–
Theme VsCode I’m Using:
Featured video series
React Js Tutorial:
Design Slider – Carousel web:
E-Commerce Web Coding:
Design Parallax SCrolling Effect:
Web Applycation Code:
Javascript Tutorial:
CSS Tutorial:
Many other impressive videos:

Contact With me:
Instagram:
Email: hohoang.dev@gmail.com

Donate me:
Thank you so much ?

Here, I share all my knowledge about Developer and Web Design including languages ​​such as HTML, CSS, SASS, Javascript, Vue, React, Bootstrap, Tailwind along with clean code techniques and UI UX Design.

46 bình luận về “[Tin tức] Increase Page Loading Speed With One Line Of HTML Code”

  1. Welcome to 2010! Lolz. Just using lazy loading is ironically LAZY! (*real advice below)
    What are you doing, Just going through the mozzila docs page by page? I can tell because you don't actually offer any actual web development advice and sound like the docs! Are you even a developer??

    *For those wanting better advice: yes use lazy loading on images Below the Fold. But before you do, check out your jpeg/PNG to make sure you have the right format for the image you have – photos = lots of colours so jpeg, shapes and less Colors = PNG.
    Look at the mb of the file, too big?, open in photopea, save as jpeg and reduce to about 80% quality – thank me later.
    Then check the dimensions of the image – you do not need an 8k photo to place into a 600px div! (~5mb Vs 100kb) – Convert all images to webp and use picture with IMG tags instead of just IMG tags. Create multiple versions of both jpeg and webp versions – a thumb, medium and large size. Learn to use media queries to load the thumb first and then reload upto large for desktop views! This will actually make your site more efficient and actually load the whole page quicker than simply using lazy loading. You will also save on costs if you pay by usage quotas and your users will have more data on their plan to browse more!

    Bình luận
  2. This reduces server load and egress costs. But for slow mobile data connections, this ain't practical. Adding paging system is the way to go so that when user scrolls 70-80% of page, next page loads in background such that when user sees the content, it's just there with infinite scrolling.

    Bình luận
  3. Another great and helpful vid, thanks.
    A small detail:
    you can use something like tinypng(or other image compressor) to make images less weight. Then you can use picture>source tags to load pages based on device viewport size. And I'm not sure why but "web" formats like webp/avif are recommended for web
    Btw, a lot of modern frameworks already have built-in image components and they can compress it automatically by display sizes(ie astro/svelte)

    Bình luận
  4. Yes, page speed performance is important today, especially if you want to get ranked high in the search results. Sadly, this is a game where some contenders cheat with loaded a blank page first, get an ultra-high performance then later load the real website data.

    Happy you're back with a new video, and I highly hope everything is fine, as I never got a reply on message I had sent you.

    Bình luận
  5. "the system needs to know how big the images are to kkep the space"…. but is valid to put width 100 percent and height 100 percent (or 100 viewport height) for images inside a blog post or an article (dynamic content)? we can define there the width like 100 percent of the article container, but we can't define height (without breaking the aspect ratio of them)

    Bình luận

Viết một bình luận

bahis10bets.com betvole1.com casinomaxi-giris.com interbahis-giris1.com klasbahis1.com mobilbahisguncelgiris1.com piabetgiris1.com tipobettgiris.com tumbetgiris1.com betboro 1xbet giriş
bahis10bets.com betvole1.com casinomaxi-giris.com interbahis-giris1.com klasbahis1.com mobilbahisguncelgiris1.com piabetgiris1.com tipobettgiris.com tumbetgiris1.com betboro 1xbet giriş
antalya bayan escort
antalya bayan escort
antalya bayan escort