ExtensionsFilter should not buffer data for certain content-types -----------------------------------------------------------------
Key: TOMAHAWK-1177 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1177 Project: MyFaces Tomahawk Issue Type: Improvement Components: ExtensionsFilter Affects Versions: 1.1.6 Reporter: Simon Kitching Priority: Minor Currently, ExtensionsFilter arranges for all data generated by a request to be buffered. Then after the request is complete it checks the content-type http header and skips any further processing if the type is not "text/html" or similar. Maybe the response-wrapper class could catch the start of response data writing, check its headers (which will be complete at that time) and then for non-html responses just stream the data directly rather than buffer it. This will save time and memory usage when a request to a .jsf url causes a non-html response to be returned. This isn't very often, but sometimes people do generate pdfs etc as a result of a jsf postback. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.