Hmm Ok – well its not solo and the lead developer says that when it actually NEEDS recompilation it takes even longer so he doesn’t think its compiling.    The question was asked about what the difference between rolling our own wrapper html that references the swf versus passing the compile=false flag to the lzx page?

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Henry Minsky
Sent: Monday, April 03, 2006 4:21 PM
To: Andy Chandler
Cc: [email protected]
Subject: Re: [Laszlo-user] pre-compile?

 

If you are compiling the app as SOLO (lzproxied=false) then a .swf file will be written to the source directory, and you can fetch that directly, bypassing the
compiler's check for up-to-dateness.

If you are compiling a proxied app, you can grab the raw swf using wget or the command line lzc compiler tool and reference that directly from your own HTML wrappre page. It is only when you fetch *.lzx that the LPS server might attempt to recompile.




On 4/3/06, Andy Chandler <[EMAIL PROTECTED]> wrote:

(I keep forgetting to use the correct account to send to the list – apologies if this winds up coming through twice)

 

I was asked to pass this question along to the list :

 

            We have a fairly large/complicated application and it has been observed that whenever a user  visits a page for the first time it can take around 15 seconds for the page to load – thereafter it loads much quicker.   We believe it is due to compilation or perhaps loading the swf into a cache on the tomcat side of the equation and we were looking to see how we could avoid that step if the resource hasn't been updated since the last compilation or if its caching is there any way to pre-load it?   


_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user




--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to