This topic has 5 replies, 3 voices, and was last updated 10 months, 1 weeks ago ago by Luca Rossi
We have noticed that our theme continues to load the jquery.lazyload.js file to lazy load images using JavaScript. However, this should not be necessary as we are using WPRocket which allows lazy loading without the use of JavaScript. Could you please check if the lazy load feature is enabled in the theme settings? I deactivated it in the theme but its still loading… Could you check it?
If so, please deactivate it to avoid conflicts with WPRocket and to optimize the performance of our website.
Because in the Screenshot you can see its still getting loaded from the theme
Hello, @TimN2408,
Thank you for using our theme and for contacting us.
To assist us in comprehensively understanding the issue you are encountering, we kindly request that you capture a video recording that demonstrates the problem. Once recorded, please upload the video file to a file-sharing service of your choice, such as WeTransfer (https://wetransfer.com/), and share the download link with us.
Additionally, we would appreciate it if you could provide the URL of the specific page where the issue is occurring. This will enable us to conduct a thorough examination and offer the appropriate assistance.
Thank you for your cooperation. We look forward to your prompt response so that we may address your concerns as efficiently as possible.
Best regards,
The 8Theme Team
Hi you can check it in this URL – in the network console – its not visible in the website but it makes it slower because of lazyloading, so please disable your lazyloader because its loading even when I disabled lazyload, can I just empty the lazyload file or do you have a better idea?
Dear TimN2408,
We hope this message finds you well.
We would like to inform you that you have the option to entirely remove the lazyload library from your website. To do so, kindly insert the following custom code into the functions.php file within your child theme:
add_action('wp_enqueue_scripts', 'n2t_wp_enqueue_scripts', 100);
function n2t_wp_enqueue_scripts(){
wp_dequeue_script('jquery_lazyload');
wp_deregister_script('jquery_lazyload');
}
We trust that this solution will be beneficial for your needs. Should you require any further assistance, please do not hesitate to reach out.
Warmest regards,
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up