My Cache-Control header is always set to
must-revalidate, no-cache, post-check=0, pre-check=0, private on the front page as well as every other page.
I've gone to configuration>performance and set Page cache maximum age to 5 mins, and I've gone to every view and set time-based caching to 5 mins as well.
There are a lot of articles about what to grep for in modules that might disable caching on a page, but these are all for Drupal 7, and I'm on Drupal 8.
What should I be looking for in my D8 modules that might be killing my caches? If I don't fix this header, CloudFront won't like my pages very much.
EDIT: The poll module was invalidating my caches on pages that were showing poll results, but that didn't turn out to be my main issue. After disabling the poll module, I was still getting
must-revalidate, no-cache, post-check=0, pre-check=0, private, but only on my Firefox Developer Edition (with browser caching disabled, though that probably doesn't matter) while all other browsers (including regular Firefox, with or without caching disabled) are returning
max-age=300, public as they should. I'm concerned, does this mean users can bypass caching under the right circumstances?