I have a block that adds a couple of header items in the view() routine using addHeaderItem. Block caching is enabled, as well as full page caching.
The first time the cache generates, everything works as intended. However, when the page cache expires, it regenerates the page cache, but simply re-uses the cached block output. This means the addHeaderItem calls no longer get called, and the items get removed from the header.
How would you all advise I solve this?