Hello,
We are using Itoris Dynamic Product Option Extension, Using this extension we have more than 900 Options, so when Moved JS Code to the bottom of the page is enabled and we open the product Page it loads empty referece you use can this link https://git.torontobaskets.ca/the-delectable-party-starter-set
If I disabled Moved JS Code to the bottom of the page feature then Page loads fine.
When we talked to developer they mentioned "It appears Magento can't relocate a big piece of JavaScript (~800 KB) to the end of HTML."
So to resolved this issues I have tried many different extension no luck.
Is there any way we can fix this problem. Any help will be really helpful.
@ruturaj_kalal please refer the below link.
https://magento.stackexchange.com/questions/59897/load-js-in-footer-in-magento
Thanks
Hey @ruturaj_kalal, were you able to resolve your issue?
If not, then please take a look into https://github.com/magento/magento2/pull/27270 which might solve your problem in the future and for now you could try increasing mentioned PHP settings instead.
You can ask your developer to create a different js file instead of writing all code in .phtml file. May be they have written too much code in .phtml file and hence the script size is too much.
I think this extension can help you in moving but as you have already used many may be you can try this one-
https://meetanshi.com/magento-2-defer-parsing-javascript.html