<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-05-31 8:47 GMT+02:00 Richard Duivenvoorde <span dir="ltr"><<a href="mailto:rdmailings@duif.net" target="_blank">rdmailings@duif.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This morning the <a href="http://plugins.qgis.org" rel="noreferrer" target="_blank">plugins.qgis.org</a> was showing nginx because of a config<br>
change we did to speed up the downloading of plugins.xml<br>
<br>
Last 2 days site was often down because some new functionality generated<br>
a lot more cpu-power, and the download of plugins.xml was not cached<br>
(anymore).<br>
<br>
Alessandro implemented a caching mechanism, so NOW:<br>
- plugin.xml's are cached (so should be retrieved much faster)<br>
- site should be much faster because the (live) generated xml's are now<br>
cached for 10 minutes.<br>
- server is now almost sleeping compared to last few days<br>
- it is good (and scary) to seem the amount of plugins.xml that are<br>
downloaded...<br clear="all"></blockquote></div><br><br></div><div class="gmail_extra">This would be the other caching point, we are currently serving the downloads through Django so that we can increment the download counter.<br><br></div><div class="gmail_extra">If the figures continue to grow we will eventually serve them directly.<br></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div></div>