Skip to content

Support Native Lazy-Loading

Tae Hoon requested to merge tae/pleroma-fe:native-lazy-loading into develop

According to the release announcement, starting with Chrome 76, we'll be able to use the new loading attribute to lazy-load resources without the need to write custom lazy-loading code or use a separate JavaScript library. We can now lazy-load images without

  • Using any external library,
  • Writing custom lazy-loading codes or
  • Loading JavaScript on the Frontend

NOTE: This works only in Chrome atm. The other browsers will just ignore this.

ref: https://scotch.io/bar-talk/native-lazy-loading-launched-on-chrome-76

Merge request reports