I am having an issue with my whole page's html being cached. This is getting in the way of some dynamic block content that is based off of a user preference value (both authenticated and anonymous users).
I have located the cache entry in the cache_render table of the DB and it has a CID of:
(this would be the entry for the front page) I do have the block that builds this dynamic content configured with cache settings:
[#cache]['contexts'] = ['session', 'user']; [#cache]['max-age'] = 0;
I am only having this caching issue when code is push to the Pantheon servers, local development environments with default cache config settings do not have this issue.