Open maxachis opened 1 month ago
I do not remember offhand which of our services was supposed to use this endpoint, do you?
Related: https://github.com/Police-Data-Accessibility-Project/data-sources-app/issues/428
I do not remember offhand which of our services was supposed to use this endpoint, do you?
Related: #428
@josh-chamberlain This was part of one of the data requests I'd worked on early in my contracting days, where we were trying to solve for agencies that didn't have homepage urls in our database. I developed the /homepage-search-cache
as a way to cache the results of those searches so we didn't repeat them multiple times. However, it seems we performed searches for most of the outstanding agencies (although we may come across more in the future).
@maxachis It's your call, but I suspect it's worth just rethinking that entirely if we need it again, given how much learning has taken place in the past few months.
/homepage-search-cache
was broken by changes to theagencies
table which removed columns referencing data sources.However,
/homepage-search-cache
is also 1) Only for internal use 2) Not seemingly in active use 3) Still available in productionSo we have a moment to consider whether we still want this endpoint and its attendant functionality, or if we'd just like to get rid of it completely