![]() |
|
|
|
|
Issue Type:
|
Improvement
|
|
Assignee:
|
Tobias Mattsson
|
|
Created:
|
11/Feb/14 11:50 PM
|
|
Description:
|
Currently GZipCacheResponseWrapper.DeferredServletOutputStream and SimpleServletOutputStream only overrides write(byte) and therefore each byte is treated individually when written to the output stream.
This happens when we're caching, for instance serving pages via RenderingEngine, images from the imaging module and the dam module.
We also go through this code when the gzip filter wraps the response in order to compress it.
By implementing write(byte[]) and write(byte[], int, int) we can reduce the amount of work needed both in these classes and the classes being delegated to. Specifically ThresholdingOutputStream can test if the threshold will be exceeded once instead of for every byte.
The improvements in performance by this fix has been measured to be very limited.
|
|
Fix Versions:
|
5.2.1 |
|
Project:
|
Magnolia Cache Module
|
|
Priority:
|
Neutral
|
|
Reporter:
|
Nils Breunese
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------