?page= bug, both in core and in sitemap plugin

The big problem computing page numbers was in discourse-sitemap:

The problem with caching was fixed here:

I also fixed the not found issue in core (minor), where it would reply with a 200 when requesting second page, but only having 20 posts (1 page):

8 Likes