whosonfirst / whosonfirst-www-spelunker

A simple Flask-based spelunker for poking around Who's On First data
BSD 3-Clause "New" or "Revised" License
7 stars 9 forks source link

Bundler needs cache-busting code when fetching GeoJSON files #94

Open stepps00 opened 7 years ago

stepps00 commented 7 years ago

Yesterday, I bundled a set of neighbourhood, microhood, and macrohood records parented by Helsinki, Finland. There were 33 records in this bundle that needed updating (they out of sync with the records in GitHub), so I began to work on updates. These 33 records were corrected and updated last night.

I used the same browser, Firefox, to download the same bundle of features this morning and noticed that the bundle still contained 33 records that needed updates. When I switched browsers, I was able to retrieve a bundle that contained all up-to-date records. We should add cache-busting code to ensure that Bundler users are able to retrieve the most up-to-date records from Who's On First.

I can provide the downloaded bundles if helpful.

thisisaaronland commented 7 years ago

See also: https://github.com/whosonfirst/whosonfirst-www-spelunker/blob/bdba6b792154a17bd0d45cb07dac3b6cde8333af/www/static/javascript/mapzen.whosonfirst.spelunker.init.id.js#L104-L108