Jump to content

Recommended Posts

Posted

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

  • 3 months later...
Posted

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?

 

  • 2 weeks later...
  • 6 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...