[Catalog-sig] Pypi cdn for hosted packages

Giovanni Bajo rasky at develer.com
Thu Feb 28 14:37:15 CET 2013


Il giorno 28/feb/2013, alle ore 13:53, Donald Stufft <donald.stufft at gmail.com> ha scritto:

> On Thursday, February 28, 2013 at 7:49 AM, M.-A. Lemburg wrote:
>> There you go:
>> 
>> https://d1t66zoqn9vlte.cloudfront.net/simple/
> Same thing on Fastly http://pypi.python.org.a.prod.fastly.net/simple/
> 
> Easy :)

Given that /simple doesn't expose HTTP cache headers, you're not basically using the CDN for that URL:

$ http HEAD https://pypi.python.org/simple/
HTTP/1.1 200 OK
Content-Length: 240286
Content-Type: text/html; charset=utf-8
Content-encoding: gzip
Date: Thu, 28 Feb 2013 13:04:26 GMT
Server: nginx/1.1.19
Strict-Transport-Security: max-age=86400

So it's not that easy. Plus, neither of them are SSL.

I don't see this need to rush. Let's not redo the mistake of the HTTP redirect that broke everything. Even if it takes two weeks with proper testing and integration with the CDN provider, I think it's more than fast enough.
-- 
Giovanni Bajo   ::  rasky at develer.com
Develer S.r.l.  ::  http://www.develer.com

My Blog: http://giovanni.bajo.it





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/catalog-sig/attachments/20130228/11517126/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4346 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/catalog-sig/attachments/20130228/11517126/attachment-0001.bin>


More information about the Catalog-SIG mailing list