cancel
Showing results for 
Search instead for 
Did you mean: 

GTMetrix Inline Script and Dom Element

GTMetrix Inline Script and Dom Element

Hi all,

 

I recently got into Magento 2 and learn by myself.

 

My site URL: shoshaaustralia.com

 

This is the report from GTMetrix 

 

I got F(0) in Minify JS & CSS because of "Inline <script>".

I view the source from Chrome and most of the inline scripts are text/x-magento-init.

https://imgur.com/blvieVC

How can I minimize it?

 

Another thing is DOM Element, how can I reduce the DOM Elements on the site.

 

Thanks for your help.

 

Kind Regards

1 REPLY 1

Re: GTMetrix Inline Script and Dom Element

@tony_le2 follow the below link to minify css and js and check the results.

 

Minify css and js 

 

Thanks