Codeinwp / Codeinwp/optimole-wp
Extend lazy-loading exclusion rules to background lazy-loading
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 72
- Forks
- 14
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 15
Description
What problem does this address?
We are looking for the ability to activate lazy-loading for background images, but with additional support for EXCLUSION rules, similar to what you have for regular tag lazy-loading. This would help us continue to leverage lazy-loading of backgrounds, while allowing pointed exceptions for LCP images.
What is your proposed solution?
Would like to see an extension to lazy-loading exclusions rules which will apply to background lazy-loading as well as normal tags.
Will this feature require documentation? (Optional)
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing exclusion-rule handling for regular lazy-loading and the entry point for background-image lazy-loading. Confirm how exclusions are represented and applied; done means the same exclusions work for background lazy-loading while preserving the existing behavior, including exceptions for LCP images.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100