[Qgis-developer] Plugin repository latency

Matthias Kuhn matthias at opengis.ch
Mon Jun 6 07:50:46 PDT 2016


Thanks a lot.

Did someone look into gzip as well? This reduces the download size from
1M to 100K, a noticeable performance improvement.

Matthias

On 06/06/2016 04:00 PM, Alessandro Pasotti wrote:
> Yes, I think it's better to add it too.
>
> There is still a way to retrieve the uncached version if one really
> needs it.
>
> 2016-06-06 15:06 GMT+02:00 Richard Duivenvoorde <rdmailings at duif.net
> <mailto:rdmailings at duif.net>>:
>
>     On 06-06-16 14 <tel:06-06-16%2014>:46, Matthias Kuhn wrote:
>     > Hi,
>     >
>     > I often experience rather long waiting times when opening the plugin
>     > manager when it's waiting for the official plugin repository.
>     > Just before the request timed out.
>     >
>     > Also when opening it in a browser it takes several seconds:
>     > https://plugins.qgis.org/plugins/plugins.xml?qgis=2.15
>     >
>     > Is this a local issue or do others experience the same?
>
>     Hi Matthias,
>
>     We (mostly Alessandro) actually just implmented a caching feature
>     for this:
>     - once every 10 minutes we ask for the plugins.xml of all release
>     versions, and cache those on disk. We made the descision to NOT cache
>     2.15 with the idea that for developers it was maybe better to just get
>     the live created xml...
>
>     BUT (and I agree with you) this makes the
>
>     https://plugins.qgis.org/plugins/plugins.xml?qgis=2.15
>     (8secs)
>
>     pretty slow compared to:
>
>     https://plugins.qgis.org/plugins/plugins.xml?qgis=2.14
>     (1 to 3 secs)
>
>     (it is > 1Mb)
>
>     We can off course add the latest dev version to the list of cached
>     xml's...
>
>     Ale? Opinion?
>
>     Regards,
>
>     Richard Duivenvoorde
>
>
>
>
> -- 
> Alessandro Pasotti
> w3:   www.itopen.it <http://www.itopen.it>

-- 
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160606/a9fb51d1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160606/a9fb51d1/attachment.sig>


More information about the Qgis-developer mailing list