Cache badge content correctly for GitHub