unitedstates / inspectors-general

Collecting reports from Inspectors General across the US federal government.
https://sunlightfoundation.com/blog/2014/11/07/opengov-voices-opening-up-government-reports-through-teamwork-and-open-data/
Creative Commons Zero v1.0 Universal
107 stars 21 forks source link

Add cache buster to IG website URLs #60

Closed konklone closed 10 years ago

konklone commented 10 years ago

Well, at least OPM. I had to temporarily blacklist a report whose title showed up, but which linked to #. But when I added ?t=238745345 to the end of the URL, the download link showed up properly. So, CDN/caching issues.

Adding a flag to utils.download probably makes the most sense -- or, always add one if the request is not expecting a binary file.