Re: EMBPERL: Calling Execute() multiple time per a page.

2016-09-01 Thread Neil Gunton
Ruben Safir wrote: nice. I thought I was the lone user of embperl at this point I'm still here! My website is the largest bicycle touring journal site in the world, running on Embperl since 2000. I'm sad that it's not what all the cool kids use any more. http://www.crazyguyonabike.com/ I

Re: EMBPERL: Calling Execute() multiple time per a page.

2016-09-01 Thread Ruben Safir
On 08/25/2016 06:36 PM, Ed Grimm wrote: > What you have is a slow version of an Embperl subroutine. Use an actual > Embperl subroutine instead. Use Execute at most once to load it. > > It's my understanding that generally, templates are done in > Embperl::Object. But when doing it that way, y

Re: EMBPERL: Calling Execute() multiple time per a page.

2016-08-26 Thread Donavon
my understanding that generally, templates are done in Embperl::Object. But when doing it that way, your template is stored in your base Embperl::Object file, as Embperl code, rather than having everything stored in a database. Of course, that has the a

Re: EMBPERL: Calling Execute() multiple time per a page.

2016-08-25 Thread Ed Grimm
016 05:35 PM Subject: EMBPERL: Calling Execute() multiple time per a page. I have a loop that is calling Execute() to load a EMBPERL page as a template. This template sets up and contains a bootstrap modal and some javascript . The page I'm using as a test calls the template at le

Re: EMBPERL: Calling Execute() multiple time per a page.

2016-08-25 Thread Michael Smith
500 times - that's a lot! Maybe you could run it once offline, and save the result as HTML? Just an idea. On Thu, Aug 25, 2016 at 10:35 PM, Donavon wrote: > I have a loop that is calling Execute() to load a EMBPERL page as a > template. This template sets up and contains a bootstrap modal and

EMBPERL: Calling Execute() multiple time per a page.

2016-08-25 Thread Donavon
I have a loop that is calling Execute() to load a EMBPERL page as a template. This template sets up and contains a bootstrap modal and some javascript . The page I'm using as a test calls the template at least 500x. This is really slowing down the loading of the page for the client. Are ther