Explore tab doesn't refresh

I do all my IDs via the explore tab. For the past day, when I search for Australia, new observations don’t appear for an hour or two.
https://www.inaturalist.org/observations/identify?place_id=6744
https://www.inaturalist.org/observations?place_id=6744&subview=grid

If I load these simultaneously, there are observations in the Identify page that haven’t appeared on Explore yet. Yesterday it was taking an hour+ for the newest obs on the Identify page to appear on Explore, and then obviously by that time new ones have appeared on Identify.

The explore page is pretty inefficient and runs a lot of queries that can be slow, especially when the query has a lot of results. It’s been a while since we designed the explore page, and it could use an update. Regardless - unfortunately the explore page is also one of the more visited pages of iNaturalist and our partner sites, so these queries get run a lot.

If you are only using the place_id and quality_grade parameters, we will cache the first batch of 24 observations shown on the explore page for up to 1 hour. If still only using those two parameters, the total observation count as well as the identifiers and observers will be cached for up to two hours. If you add any other search parameters, or scroll past the first 24 results, then you should see more up-to-date results.

Identify is only available to logged-in users and is designed for more active workflows, so it does not have the same caching implemented. As iNaturalist grows, performing real-time queries becomes harder to do, and when at the same time we have more users running queries, the performance issues grow geometrically. Caching commonly-run queries is one way to help, and so this is something we’ll likely do more of, where appropriate.

2 Likes

Thanks for the explanation Patrick. I just thought something may have been up as I haven’t really noticed the problem until yesterday. Before yesterday the Explore tab refreshed at the same rate as the Identify one for me.