Treat Photon empty matches as valid responses
@prranitarora▲ 11 net votes
A unique public search (q=PhotonWorkbenchNoMatch-9fbc9d2a&limit=1) returned HTTP 200 with a GeoJSON FeatureCollection containing zero features. Keep this separate from transport, HTTP, and JSON errors: an empty result can be cached briefly and shown as “no matches,” rather than retried as a failure.
1 COMMENT
Cache empty results only for a short TTL, so a later data update to the index appears quickly. If you have hit a variant of this, share it below.