<p dir="ltr">I am using Geowebcache for caching WMS layers and works ok.<br>
BR/ Abel</p>
<br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den mån 9 sep. 2024 17:20Jakob Miksch via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> skrev:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Hi everyone,</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
I would like to the extend the documentation of QGIS Server by adding some tips and best practices on how to improve the performance. Especially for WMS.<br>
<br>
What I learned already:</div>
<ul style="margin-top:0px;margin-bottom:0px">
<li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);list-style-type:"- "">
<div>for WMS: try different image formats like PNG8, JPEG or WebP</div>
</li><li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);list-style-type:"- "">
<div>use a Cache like MapProxy or Varnish in combination with tiled requests</div>
</li><li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);list-style-type:"- "">
<div>in the client: avoid loading all layers at once (if not absolutely necessary)</div>
</li><li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);list-style-type:"- "">
<div>ensure the underlying PostGIS tables are properly indexed</div>
</li><li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0);list-style-type:"- "">
<div>ensure the machine QGIS Server runs on has enough power</div>
</li></ul>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Do you have any tips on how to improve the performance of QGIS Server?<br>
Could you point me to any resources about this topic?</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Thanks and Best regards,</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Jakob</div>
<table border="0" cellpadding="0" cellspacing="0" style="border-width:medium;border-style:none;border-color:initial;font-family:Helvetica;width:660px"><tbody><tr style="height:79.15pt"><td valign="bottom" width="150" style="height:79.15pt;width:183.9pt"><p class="MsoNormal" style="margin-bottom:0pt;font-size:10pt;line-height:normal"><a id="m_2776733666066940063_Hlk528656578" name="m_2776733666066940063__Hlk528656578" rel="noreferrer"><span style="font-size:10.5pt"></span></a> <br> <img src="cid:siticom-logo-blue-final-black-a-logicalis-company_bc243344-6a69-4e78-9078-76e88dbcc994.png" border="0" id="m_27767336660669400630.veaxdfz7gks" style="font-size:1rem;width:198px;height:91px" width="198" height="91"><br></p><p class="MsoNormal" style="margin-bottom:0pt;font-size:10pt;line-height:normal"><span style="font-size:8pt"></span></p><span style="font-size:10.5pt"></span><span style="font-size:10pt"><span style="font-size:10pt"></span><span style="font-size:10pt"></span></span></td><td valign="middle" width="531" style="height:79.15pt;width:397.9pt;text-align:left"><p class="MsoNormal" style="margin:0cm 0cm 0pt 3.65pt;font-size:10pt;line-height:normal"><span style="font-size:10pt"><span style="font-weight:bolder;font-size:10pt"><span style="font-size:10pt;color:rgb(0,159,227)"><span style="color:rgb(3,151,255)"><span style="font-size:11pt">Jakob Miksch</span></span></span></span></span><span style="font-size:10pt"><span style="font-size:10pt"><span style="color:rgb(3,151,255)"><span style="font-size:11pt"><br style="font-size:11pt"></span></span></span></span><span style="font-size:10pt"><span style="font-weight:bolder"><font color="#000000" style="font-size:10pt">Consultant</font><br style="font-size:10pt"></span><br style="font-size:10pt"></span><span style="font-size:13.3333px">+49 170 9036956<br><font color="#00B0F0"><span style="font-size:10pt;color:rgb(0,0,0)">siticom.online</span></font></span></p></td></tr><tr style="height:36.05pt"><td colspan="1" valign="bottom" width="776" style="height:36.05pt;width:183.9pt;padding:0cm 5.4pt"><p style="font-size:8pt;text-align:justify"><span style="font-size:8pt"><span style="font-size:8pt;color:rgb(0,176,240)"><br><br></span></span></p></td><td style="padding:0px 0px 0px 5px;line-height:1"><span style="font-size:6pt">siticom GmbH • <a href="https://www.google.com/maps/search/Bahnhofsplatz+12?entry=gmail&source=g">Bahnhofsplatz 12</a> • 76137 Karlsruhe • Deutschland<br>Geschäftsführer: Jürgen Hatzipantelis, Stefan Höltken<br>Sitz der Gesellschaft: Weiterstadt • Amtsgericht Darmstadt • HRB 9276<br>Umsatzsteuer-ID Nr.: DE 197 925 589</span></td></tr></tbody></table><p><br></p>


<p style="FONT-SIZE:10pt;FONT-FAMILY:Arial"></p><span style="FONT-SIZE:10pt;FONT-FAMILY:Arial"><span style="FONT-FAMILY:Arial"><span style="FONT-FAMILY:Arial">
<div style="FONT-FAMILY:Arial">
<span style="FONT-FAMILY:Arial">
    <p style="FONT-SIZE:10pt;FONT-FAMILY:Arial"></p></span></div></span></span></span></div>

_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>