Add page number to cache path to fix pagination when caching
Fix trailing comma in previous commit