This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

افزونه ویژگی بارگذاری ناهمزمان

توضیحات

Lazy Loading Feature Plugin is an official plugin maintained by the WordPress team. It is intended for testing of automatically adding the loading HTML attribute to images and other elements that support it.

اطلاعات بیشتر در مورد ویژگی بارگذاری:
توضیحات: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-loading.
مشخصات HTML: https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-loading.

در حال حاضر ویژگی بارگذاری در مرورگرهای زیر پشتیبانی شده است:
https://caniuse.com/#feat=loading-lazy-attr.

To test, install and enable the plugin. It will automatically add loading="lazy" attributes to all images in all new and existing posts, pages, and text widgets on the front-end.

Then use one of the browsers that support it (Chrome, Opera, Firefox, Edge, Android, etc.) and visit the site. Best would be to test over a slower connection, with a phone, etc. and test web pages that have a lot of images, like gallery posts.

چیزهایی برای جستجوی

  • اشکالات آشکار، برای مثال عکس‌ها وجود ندارند.
  • Try to scroll down as soon as the page loads. All images should be at their places, and the page shouldn’t “jump” when images are loaded.

توجه برای توسعه‌دهندگان

This plugin is intended for testing. If the tests are successful, this functionality will be added to WordPress, but the exact code may change, perhaps significantly.

When testing, please also test the filters added by this plugin, and provide feedback at https://github.com/WordPress/wp-lazy-loading or at https://core.trac.wordpress.org/ticket/44427.

نقد و بررسی‌ها

27 می 2020
The plugin just adds the loading="lazy" attribute, which works fine, the rest is done by the browsers who support it, which will soon be all relevant ones, since Safari is about to implement this feature. This is a huge improvement for the web platform and web performance in general, I can't even imagine the amount of data (and thus time, energy, CO2, money...) this will save once WP implements it in core. The lazy loading experience itself is ok - you DO sometimes see images pop up, but that's a price worth paying, and browsers will hopefully improve this by starting the loading at just the right time.
17 می 2022
I like that, a LOT. This plugin does nothing more than adding the loading="lazy" tag to images, no dependencies, no extra javascript being loaded. Gives native lazy load in Chrome and Edge, thus improving experience for 63% of my audience, while not hurting the rest... PageSpeed Insights jumped to 100% on both mobile and desktop (yeah, and real life experience is also improved, tested on mediocre 3G connection). If HTML validation is important to you, proceed with caution. Online validator at w3c dot org, will throw an error since loading="lacy" isn't standadized (yet?).
خواندن تمامی 6 نقد و بررسی‌

توسعه دهندگان و همکاران

“افزونه ویژگی بارگذاری ناهمزمان” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

“افزونه ویژگی بارگذاری ناهمزمان” به 11 زبان ترجمه شده است. با تشکر از مترجمین برای همکاری و کمک‌هایشان.

ترجمه “افزونه ویژگی بارگذاری ناهمزمان” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

گزارش تغییرات

لطفا مخزن گیتهاب را ببینید: https://github.com/WordPress/wp-lazy-loading.