in reply to Re: Perl Shields/Badges
in thread Perl Shields/Badges

You might be right, at least partially. It seems GitHub started to cache images (coming both from http and https), and requires some headers to be specified to work properly. Maybe that's what's missing on CPAN's side? Aggressive image caching breaks image badges #224

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^3: Perl Shields/Badges
by hippo (Archbishop) on Jun 08, 2017 at 13:55 UTC

    Yes, that's it and they are doing it on purpose. Personally I think that's a very poor decision by github.

    Since the origin image renders fine with a query string, maybe you could try https://cpants.cpanauthors.org/dist/Syntax-Construct.png?17-06-08 or similar to defeat the cache? Just bump the readme date when there's a new release.