load lazysizes.js externally
-
Hello
Is it possible to load lazysizes.min.js externally
I mean using https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.0/lazysizes.min.js for example.
I would like to do that because it loads faster and is only 3.4kb instead of 8.7kb.
I do that by adding L786 of classes/AutoptimizeImages.php
$lazysizes_js =”https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.0/lazysizes.min.js”;
But maybe there is a hook so that i don’t have to alter the plugin..
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘load lazysizes.js externally’ is closed to new replies.