badges / pypipins

Badges for your site to display download totals, latest version using PyPI
http://pypip.in
MIT License
78 stars 45 forks source link

Question: caching? #20

Closed anentropic closed 10 years ago

anentropic commented 10 years ago

I uploaded a new version of my package to PyPI but my 'latest version' badge in GitHub is still showing the previous version

I guess there's some caching somewhere, just wondered how long it lasts? or I have something wrong in my setup? PyPI website shows the newer version number

kura commented 10 years ago

Varnish is running in front of the image API, it has a 6 hour cache timer (simply due to the large volume of traffic pypipins receives). The image generating process itself has a built-in cache timer as well (for images that could be-reused,) this is disabled though as there were more misses than hits.