Hi GemBox Team,
I have a small HTML document (11 KB) which takes a long time to load, causing my Application to run into a Timeout. Executing the Line DocumentModel.Load(filepath, LoadOptions.HtmlDefault)
takes about 01:40 minutes.
Is there a problem with the document or can I somehow avoid the long loading time?
I am using version 47.0.1184-hotfix of GemBox.Bundle.
This is the content of the HTML document:
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta name="copyright" content="(c) 2022 Deutsche Post AG">
<meta name="viewport" content="width=device-width">
<style type="text/css">
<!--
html, body {
background-color: white;
color: #333333;
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
font-weight: normal;
line-height: 22px; }
td {
font-family: Arial, sans-serif;
font-size: 15px;
line-height: 22px;
vertical-align: top; }
p { margin: 0; padding: 0; }
p.h1 { font-size: 26px; margin-bottom: 22px; }
a { color: #333333 !important; }
a.mediumgrey { color: #9C9C9C !important; text-decoration: none; }
img { border: 0; }
tr.lightgrey-bg, td.lightgrey-bg { background-color: #F3F3F3; }
td.mediumgrey { color: #9C9C9C; }
td.small, p.small { font-size: 11px; line-height: 16px; color: #737373; }
@media only screen and (max-width: 596px) {
.show-for-large { display: none !important; }
table .show-for-large {
width: 0;
mso-hide: all;
overflow: hidden; }
}
sup, sub { color: #666666; font-size: 0.8em; line-height: 100%;}
.discount { text-decoration: line-through; color: #666666;}
table.admin, table.admin th, table.admin td { border: 1px solid lightgrey; }
table.admin th, table.admin td { text-align: center; vertical-align: middle; }
.teaserbutton{
margin: 5px;
padding: 5px;
vertical-align: top;
display:inline-block;
line-height: 20px;
font-size: 16px;
font-weight:bold;
min-width: 107px;
background: #F3F3F3;
padding: 10px;
border-radius: 4px;
color: rgba(0,0,0,0.9);
}
.dhl-header{
background:#ffcc00;
padding:5px;
}
-->
</style>
</head>
<body>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td>
<table id="header" width="600" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td>
<img src="https://shop.deutschepost.de/shop/images/mailing/header.png" border="0" alt="Deutsche Post Shop" style="display: block;">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="30"></td>
</tr>
<tr>
<td>
<table width="540" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td>
<p>
Guten Tag
xxxxxxxx,
</p>
<p> </p>
<p>
<br>
im Anhang dieser E-Mail finden Sie die Rechnung zu Ihrer Bestellung Nr.
xxxxxxxxx
als PDF-Datei.
</p>
</td>
</tr>
</table>
<td>
</tr>
<tr>
<td height="30"></td>
</tr>
<tr>
<td class="lightgrey-bg">
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td colspan="3" height="15"></td>
</tr>
<tr>
<td width="30"></td>
<td>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td width="220">
<strong>
Kundennummer:
</strong>
</td>
<td width="320" style="text-align: right;">
xxxxxxxxxxxx
</td>
</tr>
<tr>
<td width="220">
<strong>
Bestellnummer:
</strong>
</td>
<td width="320" style="text-align: right;">
xxxxxxxxxxxxx
</td>
</tr>
<tr>
<td width="220">
<strong>
Bestelldatum:
</strong>
</td>
<td width="320" style="text-align: right;">
xxxxxxxxxxxx
</td>
</tr>
<tr>
<td width="220">
<strong>
Zahlungsart:
</strong>
</td>
<td width="320" style="text-align: right;">
xxxxxxxxx
</td>
</tr>
</table>
</td>
<td width="30"></td>
</tr>
<tr>
<td colspan="3" height="15"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="15"></td>
</tr>
<tr>
<td>
<table width="540" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td>
<span></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="20"></td>
</tr>
<tr>
<td>
<table width="540" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td>
<p>Für Rückfragen an unser Service Center nutzen Sie bitte unser Kontaktformular unter xxxxxxxx, so
dass wir Ihr Anliegen zielgerichtet bearbeiten können.</p>
<p> </p>
<p>Mit freundlichen Grüßen</p>
<p> </p>
<p>Ihr Shop der Deutschen Post</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="20"></td>
</tr>
<!-- Spacer //-->
<tr>
<td height="1" bgcolor="#dddddd"></td>
</tr>
<!-- // Spacer -->
<tr>
<td>
<table width="540" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td height="20"></td>
</tr>
<tr>
<td>
<p>
<strong>Deutsche Post AG</strong><br>
Service- und Versandzentrum<br>
92631 Weiden</p>
<p> </p>
<p>E-Mail: xxxxxx</p>
</td>
</tr>
<tr>
<td height="20"></td>
</tr>
</table>
</td>
</tr>
<!-- Spacer //-->
<tr>
<td height="1" bgcolor="#dddddd"></td>
</tr>
<!-- // Spacer -->
<tr>
<td>
<table width="540" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td height="20"></td>
</tr>
<tr>
<td class="mediumgrey">
© 2023 Deutsche Post AG<br>
<div style="font-size:12px; line-height:16px; margin:10px 0">
Sitz Bonn; Registergericht Bonn HRB 6792<br>
Vorstand: Dr. Tobias Meyer, Vorsitzender; Oscar de Bok, Pablo Ciano, Nikola Hagleitner, Melanie Kreis, Dr. Thomas Ogilvie, John Pearson, Tim Scharwath<br>
Vorsitzender des Aufsichtsrates: Dr. Nikolaus von Bomhard
</div>
|
</td>
</tr>
<tr>
<td height="30"></td>
</tr>
</table>
</td>
</tr>