OpenOversight icon indicating copy to clipboard operation
OpenOversight copied to clipboard

Cache csv downloads

Open abandoned-prototype opened this issue 4 years ago • 1 comments

In https://github.com/lucyparsons/OpenOversight/pull/735 @redshiftzero suggested to add caching to the csv downloads. Specifically to download_dept_officers_csv, download_dept_assignments_csv and download_incidents_csv.

Things to consider:

  1. Which library to use for caching
  2. Cache invalidation (whether and how to deleted the cached csv file if the underlying data changes)
  3. Cache expiration (how long to keep the cached data)

abandoned-prototype avatar Jun 20 '20 20:06 abandoned-prototype

related to https://github.com/lucyparsons/OpenOversight/issues/242

abandoned-prototype avatar Nov 20 '20 07:11 abandoned-prototype