[Laszlo-user] pre-compile?

Henry Minsky henry.minsky at gmail.com
Mon Apr 3 17:52:50 EDT 2006


If the server is not recompiling, then I don't know what would be taking a
noticable delay. Could it be nameserver resolution on your client possibly?

I'd like to know more about this issue, particulary if it could be
reproduced somehow.


On 4/3/06, Andrew Chandler <andy at riftware.com> wrote:
>
>  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:* laszlo-user-bounces at openlaszlo.org [mailto:
> laszlo-user-bounces at openlaszlo.org] *On Behalf Of *Henry Minsky
> *Sent:* Monday, April 03, 2006 4:21 PM
> *To:* Andy Chandler
> *Cc:* laszlo-user at openlaszlo.org
> *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* <achandler at visionael.com> 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
> Laszlo-user at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>



--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20060403/b1fdad88/attachment-0001.html


More information about the Laszlo-user mailing list