html minify problem

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
wb_user
 
 
Posts: 237
Joined: Sun Jul 05, 2015 7:03 am

html minify problem

Post by wb_user » Tue Aug 08, 2017 6:58 pm

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.
Last edited by wb_user on Wed Aug 09, 2017 4:39 pm, edited 1 time in total.

User avatar
crispy68
 
 
Posts: 242
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: html minify problem

Post by crispy68 » Tue Aug 08, 2017 7:20 pm

Do you have move JavaScript to external file checked?

wb_user
 
 
Posts: 237
Joined: Sun Jul 05, 2015 7:03 am

Re: html minify problem

Post by wb_user » Tue Aug 08, 2017 7:31 pm

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

User avatar
Pablo
 
Posts: 19287
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: html minify problem

Post by Pablo » Tue Aug 08, 2017 9:10 pm

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).

User avatar
[RZ]
 
 
Posts: 2430
Joined: Tue Nov 04, 2008 12:08 pm

Re: html minify problem

Post by [RZ] » Tue Aug 08, 2017 9:21 pm

[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

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests