page weight vs j.guery

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
Bart Design
 
 
Posts: 239
Joined: Thu Dec 12, 2013 9:38 am

page weight vs j.guery

Post by Bart Design » Tue Jan 02, 2018 9:18 pm

Hi guys, happy new jear to all of you!

On a page i have 2 times a carousel. Now the page weight ia 2.39 and is almost responsible by the two j.guery-ui.min.js 248 (time) and j.guery-1.12.4.min.js 95 (time)

My question, what is the differents between the two of theme and how can a lower the time on these objects!? There is almost nothing on the page! Total time of the page weight is 2.39 sec.

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

Re: page weight vs j.guery

Post by Pablo » Tue Jan 02, 2018 10:04 pm

jQuery-1.12.4.min.js is the jQuery library.
https://jquery.com/

jQuery-ui.min.js is jQuery UI, which is usually required for effects like sliding/fade animations or easing.
https://jqueryui.com/

Bart Design
 
 
Posts: 239
Joined: Thu Dec 12, 2013 9:38 am

Re: page weight vs j.guery

Post by Bart Design » Tue Jan 02, 2018 10:17 pm

Nice but is there a way to make the page weight les big?

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

Re: page weight vs j.guery

Post by Pablo » Tue Jan 02, 2018 10:20 pm

'jQuery' is required by the Carousel otherwise it will not work.
'jQuery UI' is added only if you use animations/effects.

You can reduce the page weight by removing advanced features (like the Carousel). The scripts will not be added unless they are required.

Note that most advanced features use jQuery, so in that case the file(s) will be shared by multiple pages and only loaded once.
Also note that the size of the scripts is usually less than the size of images and other assets.

Post Reply

Who is online

Users browsing this forum: TigerTorreArt and 13 guests