sfbrigade / sf-crime-data

Search SFPD incidents from SF OpenData with focus on campus safety.
http://sfcrimedata.org
MIT License
26 stars 39 forks source link

Improve performance (speed) of calls to SFOpenData's API #104

Open paulhennings opened 7 years ago

paulhennings commented 7 years ago

Expected behavior

User enters search criteria and data results appear right away.

Actual behavior

On searches of large areas and/or large periods of time, the data results take a long time to display. Browsers throw a message asking the user if they want to stop a "long running script".

Steps to reproduce

Search address: 155 9th Street, San Francisco, CA, USA Radius: 5280 Time Period: "Last Year"