Re: [ResourcePriorities] Only specify lazyload on img

On Tue, 25 Jun 2013 22:27:09 +0200, James Simonsen <>  

>> script
>> This already has means to control when the script is executed (async and
>> defer). Since scripts are invisible, lazyload seems like the wrong
>> semantic. If the author wishes to load a script at a certain point,  
>> that is
>> possible by creating and inserting a script at that point.
> The point is that it doesn't block the load event. You can specify
> everything in HTML, but not interfere with the critical path of the page
> load. An example use would be analytics, where it doesn't need to  
> obstruct
> the page load and can load and run at an arbitrarily later time.

This is already addressed by <script async>.

>> svg
>> This doesn't even fetch anything.
> Maybe not that specifically, but there are a bunch of things in SVG that
> could use it. I think they have their own <script> tag for instance.

Yeah well, the spec only lists <svg>, and that doesn't make sense.

Simon Pieters
Opera Software

Received on Tuesday, 25 June 2013 21:58:00 UTC