javascript - Speeding up website - marking scripts/images as optional? -


on website have ads network not load particularly fast. browsers won't draw page unless ads load, making website appear slower - there way prevent this? in mark script non-essential or javascript trick draw once it's loaded? tried googling solution, no avail.

also, ads added site iframe, js script (much adsense)

if loading ads optional, wait load them , use ajax load/add them later jquery.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -