Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Automatically detect images "above the fold" and avoid lazyloading them on every page

Aperta
#622 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
php, wordpress

Direzione di ricerca

Inizia esaminando l’impostazione esistente di esclusione dal lazyload per pagina e il rilevamento delle immagini hero menzionato nell’issue. Il lavoro è completo quando le immagini above-the-fold o hero vengono identificate per pagina e dispositivo ed escluse dal lazyloading, con il comportamento richiesto documentato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

doc-needed new feature
What problem does this address?

Edit(VB): For PRF I recommend implementing it the way user and Marius suggested below to reduce complexity - setting per device let's say, i.e. have a different value for mobile/desktop/tablet, tweak this setting depending on the page.

Currently, you can exclude a certain amount of images from Optimole's lazyload feature per page (defaults to 3). However, the amount of images above the fold often varies per pages, and when this happens, it only betters the performances of the pages which has an amount of above the fold images match that number.

What is your proposed solution?

At the very least, avoid lazyloading images that are detected as hero images (seems like hero image detection is already a feature from version 3.9.0). At best, use a system similar to LiteSpeed cache's VPI feature, like so:

image

Will this feature require documentation? (Optional)

Yes, it requires documentation.

Lingua principale
PHP
Stelle
73
Fork
14
Merge medio
2g 13h
PR unite (30g)
16

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Codeinwp/optimole-wp

Tutte le issue di Codeinwp/optimole-wp

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.