Lazy load native
-
To use native lazyload on browsers supporting this feature, you need to use the following line:
add_filter( ‘rocket_use_native_lazyload’, ‘__return_true’ );
Browsers that do not support native lazyload will use the JS-based solution as before.Hi support,
Why is this line not added by default?
Is it not better to always use the native lazyload when the browser supports it?
- The topic ‘Lazy load native’ is closed to new replies.