title: JSP load taking more than 12 seconds
body: <p>I have JSP which takes more than 12 seconds to load. It works fine on IE11. It includes 6 other jsps within. I am trying to analyze what is causing longer load time for parent jsp.     </p>
  
  <p>Does included JSPs are compiled every time parent JSP is being loaded? </p>
  
  <p>Each JSP and parent JSP has some functions defined in script tag.<br>
  Are these functions compiled on server? 
  And if compiled does browser render this JS functions everytime on load?</p>
  
  <p>Improvement steps:
  Include all JS functions in JS script and import it on page. So that browser can pick it up from browser cache rather than rendering it again and again. Will it help?</p>
  
  <p>Heres the snapshot of profiler report.</p>
  
  <p><img src="https://i.stack.imgur.com/y5Js9.png" alt="enter image description here"></p>