<div dir="ltr">Ok, GeoNode 2.4 is quite old and still makes use of obsolete auth method, so I'm not fully sure this solution could work, but it is worth to try it out.<div><br></div><div>For all those layers which are not public, please remove <b>also</b> the download permissions. You can maybe do a quick test with just one or two and see if they have been removed from the big GetCapabilities document.</div><div><br></div><div>If this won't work either, the possible solutions are not trivial and will require a very good knowledge of both GeoServer and GeoNode.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:12.8px">Best Regards,</div><div style="font-size:12.8px">Alessio Fabiani.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>==</div><div>GeoServer Professional Services from the experts!</div><div>Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px"><a href="https://github.com/afabiani?tab=overview" style="font-size:12.8px" target="_blank">github</a><br></div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054  Massarosa (LU)</div><div>Italy</div><div>phone: +39 0584 962313</div><div>fax:     +39 0584 1660272</div><div>mob:   +39 <span style="font-size:12.8px">331 6233686</span></div><div><br></div><div><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">-------------------------------------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><p><span lang="IT"><font size="1"> </font></span></p><p><font size="1">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></p><p><font size="1">---------------------------------------------------------------------</font></p></div></div></div></div>
<br><div class="gmail_quote">On Mon, May 8, 2017 at 11:17 AM, John, Steffen <span dir="ltr"><<a href="mailto:s.john@atenekom.eu" target="_blank">s.john@atenekom.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<div>Hi,</div>
<div><br>
</div>
<div>Only third of layers are public. The rest are owned by one or two users withou view persmission for anyone.</div>
<div>But still they appear in the capabilities document.</div><span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div>Steffen</div></font></span><div><div class="h5">
<div class="m_1747510911730521884-x-evo-paragraph m_1747510911730521884-x-evo-top-signature-spacer"><br>
</div>
<div>Am Montag, den 08.05.2017, 11:12 +0200 schrieb Alessio Fabiani:</div>
<blockquote type="cite">
<div dir="ltr">Are those layer all public? All 300 more layers must be accessible to the unauthenticated users also?</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="m_1747510911730521884gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div style="font-size:12.8px">Best Regards,</div>
<div style="font-size:12.8px">Alessio Fabiani.</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">
<div>==</div>
<div>GeoServer Professional Services from the experts!</div>
<div>Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</div>
<div>==</div>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Ing. Alessio Fabiani</div>
<div style="font-size:12.8px">@alfa7691</div>
<div style="font-size:12.8px"><a href="https://github.com/afabiani?tab=overview" style="font-size:12.8px" target="_blank">github</a><br>
</div>
<div style="font-size:12.8px">Founder/Technical Lead</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">
<div>GeoSolutions S.A.S.</div>
<div>Via di Montramito 3/A</div>
<div>55054  Massarosa (LU)</div>
<div>Italy</div>
<div>phone: <a href="tel:0584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div>
<div>fax:     <a href="tel:0584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div>
<div>mob:   +39 <span style="font-size:12.8px"><a href="tel:331%20623%203686" value="+393316233686" target="_blank">331 6233686</a></span></div>
<div><br>
</div>
<div><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></div>
<div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/<wbr>geosolutions_it</a></div>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">------------------------------<wbr>-------------------------</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">
<p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p>
<p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le
 finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare
 il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p>
<p><span lang="IT"><font size="1"> </font></span></p>
<p><font size="1">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June,
 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the
 named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability
 as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></p>
<p><font size="1">------------------------------<wbr>------------------------------<wbr>---------</font></p>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Mon, May 8, 2017 at 10:38 AM, John, Steffen <span dir="ltr">
<<a href="mailto:s.john@atenekom.eu" target="_blank">s.john@atenekom.eu</a>></span> wrote:<br>
<blockquote type="cite">
<div>
<div>Hi!</div>
<div><br>
</div>
<div>I'm running Geonode 2.4. with approximately 300 layers. Whenever I load a map (containing 80 layers), it takes around 20 seconds.</div>
<div>Using the developer tool of the browser, I could identify a GetCapabilties-Request to the geoserver, which takes around 17 seconds.</div>
<div><br>
</div>
<div>The XML Document contains around 40000 lines, which is the reason for the long loading time. It contains all Capabilities of all the layers included in Geonode (not only the ones included in the map).</div>
<div><br>
</div>
<div>How can I improve the performance? </div>
<div>Is it possible to avoid the capabilities request or at least only load the capabilities of the layers which are included in the map?</div>
<div><br>
</div>
<div>I'm thankful for any hints.</div>
<div><br>
</div>
<div>Best!</div>
<span class="m_1747510911730521884HOEnZb"><font color="#888888">
<div>Steffen</div>
<div><br>
</div>
</font></span></div>
<br>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div></div></div>

</blockquote></div><br></div>