[Laszlo-user] Splash while waiting on compile
Andrew Chandler
andy at riftware.com
Thu Jun 29 00:23:37 EDT 2006
I'm trying to reduce the 30 second to initial page view experience with our
app. I've read the deployment guide and fixed the compile check to never
which helps a lot with subsequent page reloads, however the first one after
tomcat startup can still be a doozy. Thoughts and help?
1: Is it possible to display a splash WHILE the page you want is compiling?
Everytime I use the splash element it of course doesn't display exept for a
tiny flash just about when the rest of the stuff becomes visible. This of
course is because the item wasn't ready yet. I need to display SOMETHING
to show that the request for the page was received and the server is working
on it.
2: Has anyone yet come up with a servlet that can be loaded at container
startup that just iterates over the list of lzx files and tries doing a
request (triggering compilation) in the background - not to actually display
anywhere but just to get the resources ready? Is there a better way? I
initially thought to use the command line batch file but it doesn't seem to
work as well as I'd hope and it seems like the cache is cleared on tomcat
restart anyhow.
More information about the Laszlo-user
mailing list