Sign up ×
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It's 100% free, no registration required.

I analyzed my website on Gtmetrix.com for optimization and the result was this:

There are 9 components that can be minified:

inline <script> tag #6
inline <script> tag #9
inline <script> tag #10
inline <script> tag #11
inline <script> tag #12
inline <script> tag #13
inline <script> tag #14
inline <script> tag #15
inline <script> tag #16

Strip unnecessary characters from JavaScript and CSS to speed up download times.

i should add this: i tried to minifying css an js files with an extension already.

how to solve this?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Inline scripts are JS code snippets inside you html output, between <script></script> tags. You can minify them separately (there're several tools available, such as http://jscompress.com/), although please note that some of them contain <?php ?> tags as well.

share|improve this answer
    
which folder/file should i search to find these files? what kind of file are these? @Pronto – Moh3n Jul 24 '14 at 8:15
    
They are all over the template. What you could do is to see what inline JS system the metrics tools is referring to and search / grep them. By the way, many of those are relatively small snippets, containing only couple of lines code. – Pronto Jul 24 '14 at 8:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.