Developer forum

Forum » CMS - Standard features » Module taking too long to start

Module taking too long to start

Nuno Aguiar
Reply

Hi,

 

I have this page http://misspiggy.dw-demo.com/services?facilityID=29001&debug=true and I can see it's taking very long for the template to start. Can we do something about it?

  • I need to list all products (<150)
  • I am matching against 1 specific variant
  • I just need a handful of fields but I using the schema extender. Setting just the necessary fields would help? (it's normally pretty fast)

 

It's maybe just about the amount of products, but I feel I am missing something

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Høeg Pedersen
Reply

What module?

And do you have @TemplateTags() in your file?

Right now it throws an exception....

 
Nuno Aguiar
Reply

Hi Nicolai,

 

It broke down because the template was requesting information from the logged in user... my bad. But I am actually glad about this. Looks like the issue only happens when the user is logged in (even when I have no user reference in the template.

Using debug=true, you can see the module (Product Catalogue) takes a lot of time before it actually starts the template - Starting template.output (C:\Domains\Sites\misspiggy.dw-demo.com\Files\Templates\Designs\Matura\eCom\Productlist\filters.cshtml)"

 

After placing in a workaround for anonymous users (for this purpose only) you can see there's a huge difference in performance being logged in or out.

Login page: http://misspiggy.dw-demo.com/

Page to test for: http://misspiggy.dw-demo.com/services?facilityID=29001&debug=true

Username: professional@tester.com

Password: tester

 

Check it out: http://www.screencast.com/t/jRcy2MKdaFmR

 

Best Regards,

Nuno Aguiar

 

You must be logged in to post in the forum