Fixed #20346 cache middleware should vary on full URL