<div dir="ltr"><div>Hi Marco,<br><br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-29 8:40 GMT+01:00 Marco Hugentobler <span dir="ltr"><<a href="mailto:marco.hugentobler@sourcepole.ch" target="_blank">marco.hugentobler@sourcepole.ch</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <br><div bgcolor="#FFFFFF" text="#000000">
    <div>Hi all<br>
      <br>
      This is not a server specific problem. It is that QGIS may need a
      long time to get metadata for some layers. So the best solution is
      (as it has been proposed already in this thread) to enhance QGIS
      to store the metadata (in the project file) and not read it from
      the db the first time. </div></div></blockquote><div><br><br></div><div>I agree. We also need some behaviour to let the user decide how these metadata are refreshed when needed : manually, or if it is older than X seconds/minutes/hours/days.<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div>This will also speed up loading of large
      projects, it is not only usefull for the server. We should avoid
      to make any server specific things in core for that.<span class=""><br></span></div></div></blockquote><div><br></div><div><br>I agree with you, this "server specific thing" was not necessary, as improvements in this area will be great for both desktop and server.<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div><span class="">
      <br>
      >- there was a bug in QGIS Server which did not use cache
      whenever a GetMap request was called with an empty STYLE parameter<br>
      <br></span>
      No, the opposite. It did not use cache with a non-empty style
      parameter.<br></div></div></blockquote><div><br></div><div><br>You are right, I wrote my email too fast.<br></div><div><br><br></div><div>Cheers<br></div><div>Michaël<br></div></div></div></div></div></div>