<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div>Thanks a lot Alessio and Simone,</div>
<div><br>
</div>
<div>It sounds like good options. I will have a look at it.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Steffen</div>
<div class="-x-evo-paragraph -x-evo-top-signature-spacer"><br>
</div>
<div>Am Montag, den 08.05.2017, 13:51 +0200 schrieb Simone Dalmasso:</div>
<blockquote type="cite">
<div dir="ltr">Hi all, a thought, what about moving to the leaflet based detail viewer? I've never tested it but maybe is not doing a getcapabilities and using only the map attribute to build the web map. Is a settings, <a href="https://github.com/GeoNode/geonode/blob/2.6.x/geonode/settings.py#L936">https://github.com/GeoNode/geonode/blob/2.6.x/geonode/settings.py#L936</a></div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-05-08 13:18 GMT+02:00 Alessio Fabiani <span dir="ltr">
<<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions.it</a>></span>:<br>
<blockquote type="cite">
<div dir="ltr">Also I'd suggest to change the option below on "WMS" global settings by specifying only the CRS supported and avoid GeoServer to print on the GetCapabilities document the whole list of CRSs
<div><br>
</div>
<div><img src="cid:1494254253.7490.20.camel@atenekom.eu" alt="Inline image 1" width="524" height="129" data-inlinedata-name="image.png"><br>
</div>
</div>
<div class="gmail_extra"><span class=""><br clear="all">
<div>
<div class="m_-503925496323929125gmail_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:+39%200584%20962313" value="+390584962313" target="_blank">
+39 0584 962313</a></div>
<div>fax:     <a href="tel:+39%200584%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-3686" value="+13316233686" 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>
</span>
<div>
<div class="h5">
<div class="gmail_quote">On Mon, May 8, 2017 at 1:13 PM, Alessio Fabiani <span dir="ltr">
<<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-<wbr>solutions.it</a>></span> wrote:<br>
<blockquote type="cite">
<div dir="ltr">Trivial solution (but also easiest to achieve and should not require any other "particular" customization), would be to login into GeoServer ad an internal administrator, edit the Layers to not show on the GetCapabilities but checking-off the
 "Advertised" option and save them.</div>
<div class="gmail_extra"><span><br clear="all">
<div>
<div class="m_-503925496323929125m_1889690890826902628gmail_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/geosolution<wbr>s_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>
</span>
<div>
<div class="m_-503925496323929125h5">
<div class="gmail_quote">On Mon, May 8, 2017 at 12:49 PM, 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><br>
</div>
<div>none of the layers has download permission, so is isn't the reason. I'm logged in as admin, which has the view persmissions to all layers.</div>
<div>So, is it possible to adapt geonode, geoserver to request only the capabilities of the layers included in the map?</div>
<div><br>
</div>
<div>I'm quite advanced in Geonode and Geoserver, do you have ideas, how i can solve this problem in a different way?</div>
<div><br>
</div>
<div>cheers,</div>
<div>Steffen</div>
<div>
<div class="m_-503925496323929125m_1889690890826902628h5">
<div><br>
</div>
<div><br>
</div>
<div>Am Montag, den 08.05.2017, 11:21 +0200 schrieb Alessio Fabiani:</div>
<blockquote type="cite">
<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="m_-503925496323929125m_1889690890826902628m_305837347915860001gmail_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/geosolution<wbr>s_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 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 type="cite">
<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="m_-503925496323929125m_1889690890826902628m_305837347915860001HOEnZb"><font color="#888888">
<div><br>
</div>
<div>Steffen</div>
</font></span>
<div>
<div class="m_-503925496323929125m_1889690890826902628m_305837347915860001h5">
<div><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_-503925496323929125m_1889690890826902628m_305837347915860001m_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/geosolution<wbr>s_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_-503925496323929125m_1889690890826902628m_305837347915860001m_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>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
</div>
</div>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">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/<wbr>mailman/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>
</blockquote>
</body>
</html>