issue with speed when loading layouts 5.7.5.12

Permalink
Following on from my previous message regarding a site crash, my client did a rebuild from a recent backup and manually reconstruction.

The site is working well but there is one issue, a lot of the pages have complex layouts to get the look and feel correct some of these are layouts inside layouts.
The average load times for the site seems pretty good apart for the very very slow load times for the layouts. We are seeing references to the following
/ccm/system/css/layout/56
/ccm/system/css/layout/75
/ccm/system/css/layout/81

etc most pages are loading in milliseconds the layouts are taking in excess of 10 to 12 seconds per layout.

Is this a known issue with this version? Any ideas on where to look?
Thanks
Martyn

FaganSystems
 
FaganSystems replied on at Permalink Reply
FaganSystems
Looking in more detail the layouts are being delayed in loading, after the domevent occurs the grids load quickly
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi FaganSystems,

Are you referring to the speed of loading while in edit mode or as a user?

Regarding custom layouts, where you have multiple nested custom layouts on a page, I don't believe they were intended as a substitute for layouts in page templates.

For complex layouts, I believe a better option is to create custom page templates. It would offer better performance and more control.
FaganSystems replied on at Permalink Reply
FaganSystems
The issue is when accessing the front end. Also switching to edit mode to a lesser extent.
Watching the load times in Firebug net tab you can see the layouts being delayed until the Domevent, so as I have updated in my other post, layouts may not be to blame directly.
The layouts are being delayed by upto 9 or 10 seconds before being loaded.

The weird thing is the speed was not an issue prior to the crash he suffered, it was flying along, so I am told. So while restoring from a 3 day old backup has got him working I am wondering if there isn't a latent issue in the db somewhere.

Regarding custom layouts vs custom templates yes I would agree that using custom templates is always the better way to go, I picked up this client on New Years Eve when his previous template dev, dropped him and vanished. He was never given any guidance on this.

After discussing this with the client I am going to try doing an upgrade to 5.8.0.2 or 3 to see if that helps with the speed etc.