spring - Compression servlet filter that supports minimum object size -


i wish add compression our spring based web-service (serving both xml , json), see there number of different gzip compression filters, not sure which accepted common i.e. there jboss or spring offering?

additionally have read compressing content below 1000-860 bytes pointless compression time greater time saved , if below 150 bytes object grows.

do these filters support minimum object size out of box?

this old thread, compression in filter happens before jsp rendered. possibly enable through apache, doing filter using servlets/filters or spring mvc isn't going you:

http://forum.springsource.org/showthread.php?45604-using-gzip-for-compression-how

i notice reading question using xml , json responses. possibly still gain benefit @ spring mvc/controller level if looking for, still pursue gzip capabilities in apache.

http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -