EasyUI Forum
May 08, 2024, 03:21:41 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: concern about web application general speed  (Read 6690 times)
crosemffet
Jr. Member
**
Posts: 68



View Profile WWW Email
« on: December 31, 2013, 03:07:33 PM »

hello everybody and happy new year !.
I'm concerning about general speed of the web application. I want to make it as faster as possible.
question is: if I put easyloader in login page for the modules I use most, will increase speed of the modules once logged in?, example:
easyloader.base = './easyui/';
easyloader.load('accordion');
easyloader.load('datagrid');
easyloader.load('messager');
easyloader.load('panel');
easyloader.load('layour');
easyloader.load('linkbutton');
easyloader.load('menubutton');
or once jquery.easyui.min.js loaded all modules are already loaded?
what's the exact use for easyloader js file to increase performance?
thanks in advance.....
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: January 01, 2014, 03:51:37 AM »

If allmost plugins may be used, include 'jquery.easyui.min.js' file directly in the page. If only a little plugins will be used, use easyloader to load what plugins may be used.
Code:
using(['accordion','datagrid','panel',...],function(){
//...
});
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!