It would be nice if the counters didn't reset to 0 when the webapp is down.
Possible implementation: cron job on the webapp machine that periodically wget the json file at https://archive.softwareheritage.org/api/1/stat/counters/ ; change the website js to load that file instead of ajax calling into the webapp.
As a side-effect of this specific implementation we will not need to use JSONP any more for content counters.