Just this once, I was wrong to say I was wrong. In the Elasticsearch case, we cache not only the result size, but also the search hits, so not clearing the cache when the limit/offset is changed actually hurts.