Replies: 1 comment 3 replies
-
For Orchard 1 Legacy sites, it is better to open an issue in the Orchard 1 repository here https://github.com/OrchardCMS/Orchard However your problem is that someone has turned on the Shape Tracing feature and left it on. You need to turn the feature off. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(I got further dev tasks on legacy site).
While other Orchard sites on the Net, have less then 1MB html source data per page with similar complexity, this Orchard site pages are over 50MB!
Pages are loading damned slowly. Looking at the html source of these very simple pages, it turned out that they are more than 50MB (/page), and are full of
shapeTracingMetadataHost
objects having a lots of (needless?) data in theplacement
,html
, andmodel
properties.Part of this stuff is rendered into the model is in the
Orchard.Designer.Tools\Services\TemplatesFilter.cs
, in this lines:var tail = _workContext.Layout.Tail; tail.Add(_shapeFactory.ShapeTracingTemplates());
One of the place where this data is written into the page in
Views\Document.cshtml
fromModel.Tail.Items' Dump
property.What is it?
What is the purpose of it?
Can it be switched off?
@Piedone Any idea?
Another interesting thing, that the page looks seemingly downloaded, but the browser's still showing that it is not ready for at least one more minute and cause high CPU load too.
Reloading the page often cause Out of memory error in
Document.cshtml
of the customized Theme at this line of code:@Display(Model.Tail)
Appreciate your help
Beta Was this translation helpful? Give feedback.
All reactions