Page 1 of 1

html minify problem

Posted: Tue Aug 08, 2017 6:58 pm
by wb_user
hello.
when i minify my html page some java scripts doesn't work correctly
i test [rz] Smooth Page (lite) v2.1.0.0 in html default and minify method and i cant see that code on my page in minify method.

Re: html minify problem

Posted: Tue Aug 08, 2017 7:20 pm
by crispy68
Do you have move JavaScript to external file checked?

Re: html minify problem

Posted: Tue Aug 08, 2017 7:31 pm
by wb_user
crispy68 wrote: Tue Aug 08, 2017 7:20 pm Do you have move JavaScript to external file checked?
yes, for more page loading speed , i check that

Re: html minify problem

Posted: Tue Aug 08, 2017 9:10 pm
by Pablo
Not all code can be minified or moved to a external file.
For example, sometimes the code needs to be executed at a specific position in page.
There is no way for a minify tool to know that, so in that case you cannot use it (or rewrite the script).

Re: html minify problem

Posted: Tue Aug 08, 2017 9:21 pm
by [RZ]
[rz] Smooth Page has specific functionalities/features that should not run from an external source, otherwise these features will not give the optimal results
this is not an error in the extension itself nor in the wb program
on the contrary, it was programmed to work this way to bring the best performance/results