|
$url = \Magento\Framework\App\ObjectManager::getInstance() |
I appreciate anyone willing to post there code here and the effort involved with supporting it... I was going to attempt a plugin like this for page insights, but stumbled on this, which uses di and observer ...
https://github.com/MeetanshiInc/Magento-2-Defer-Parsing-of-JavaScript
thoughts on this solution vs yours?
DJS/Plugin/ResponsePlugin.php
Line 20 in e4d58a3
I appreciate anyone willing to post there code here and the effort involved with supporting it... I was going to attempt a plugin like this for page insights, but stumbled on this, which uses di and observer ...
https://github.com/MeetanshiInc/Magento-2-Defer-Parsing-of-JavaScript
thoughts on this solution vs yours?