Placing custom js inside external files improve performances absolutely, by allowing limit bandwidth usage through browser caching system. If we're talking about struts2, you should take a look at timer interceptor (http://struts.apache.org/2.0.14/docs/timer-interceptor.html). This could get you a time measurement feedback. From client point of view you can use firebug (http://getfirebug.com/).
Maurizio Cucchiara 2010/10/10 tito <tit...@gmail.com>: > @MaurizioI have included jquery min , but my custom scripts i have put them > in jsp page <head> section inside <script> tag. Does it improve performance > If I put them in a JS file and include them ? Also how do I measure a JSP > page's loading performance ? > > > > regards, > Tito Cheriachan > ___________________________________________ > > > > 10 litres of water is required to produce a sheet of paper. > -- > > > > On Sun, Oct 10, 2010 at 8:43 PM, Maurizio Cucchiara < > maurizio.cucchi...@gmail.com> wrote: > >> Basically, >> you never include jquery script inside your page. I try to explain better: >> Inside your page you must include only 2 script directive: >> 1. first one contains jquery reference (f.e.: >> http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js). >> 2. second one contains your custom script (and so on). >> >> Both go directly inside client cache, the remaining part is only >> client elaboration (until you don't invoke ajax request). >> >> Maurizio Cucchiara >> >> >> 2010/10/10 tito <tit...@gmail.com>: >> > If I include some jquery codjes in my jsp . will it make the jsp page >> heavy >> > to load ? >> > >> > >> > regards, >> > Tito Cheriachan >> > ___________________________________________ >> > Automate Twittering using AutoTweeter >> > http://www.autotweeter.in >> > <http://www.autotweeter.in>Follow twitter users automatically with >> > AutoFollower >> > http://www.twitterautofollower.com >> > >> > >> > >> > 10 litres of water is required to produce a sheet of paper. >> > -- >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org