Why does the first access to a JSP file take longer on the Google App Engine?
- by Spines
Here is my test: I access a servlet to get the JVM to load (absorb the loading request). Then i access a JSP that has <%= 5+7 %> in it and nothing else. The first access to this JSP uses 350ms of CPU time and has latency of 200ms. Subsequent accesses only have latency and cpu time of about 20ms.
Why does the first access to the jsp after starting the servlet container take longer?