Event caching outputs too soon making adding headers in postProcess not work

Description

When ColdBox is serving an event from the cache, it outputs the content right away. (link) Once the output has started, you can't add headers to the response. This specifically affects any postProcess interception point handlers. The writeOutput should not be called until after this interception point is announced.

Activity

Show:
Eric Peterson
July 15, 2019, 4:19 PM

Idea from , perhaps also add a preProcessExempt and a postProcessExempt flag to the cache annotations.

Idea from , perhaps also add a ignoreHeaders list to the cache annotations.

Assignee

Luis Majano

Reporter

Eric Peterson

Labels

None

Priority

Major
Configure