Tim Vereecke Posted January 31, 2021 Report Share Posted January 31, 2021 Hi, For those interested in performance, after modifying asyncspc.php and adding native loading=lazy (supported in Chrome/FF) to the $imageTag I gained 3-4 points in Google Pagespeed Insights. When scrolling down the Revive banners are loaded well before they appear in the viewport. Hope this helps Tim scott001 1 Quote Link to comment Share on other sites More sharing options...
scott001 Posted May 25, 2021 Report Share Posted May 25, 2021 Thank you for sharing!! Just to clarify, on line 3436 I added this: $imageTag = "$clickTag<img src='".htmlspecialchars($imageUrl, ENT_QUOTES)."' width='$width' height='$height' alt='$alt' title='$alt' loading='lazy' border='0'$imgStatus />$clickTagEnd"; Revive coders...are you listening? This is an extremely simple solution to speeding up serving banners with your software, can you please add this to the source code? Tim Vereecke 1 Quote Link to comment Share on other sites More sharing options...
Tim Vereecke Posted June 2, 2021 Author Report Share Posted June 2, 2021 Correct, it is as simple as this Quote Link to comment Share on other sites More sharing options...
knofte Posted December 16, 2021 Report Share Posted December 16, 2021 This has been commited to code in PR 1339 - https://github.com/revive-adserver/revive-adserver/pull/1339 Not sure if it'll be approved, but at least commited ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.